feat: Add isPartialRecord guard#50
Conversation
|
This doesn't work correctly. The simplest example is for an empty object: you'll always return Unfortunately, I don't think there's an easy to fix it properly. The only thing we can do is assert that an object is of type |
|
I'm happy to either close this due to this limitation or update it to be |
|
I guess leaving it but renaming it is the way to go. At least we'll have a function, which is better than nothing! |
|
Rebased against |
|
😄 well, at least the github actions workflows are protecting things |
isRecord guard (fixes #4)isPartialRecord guard
This begins to address #4 but is no longer a full solution.