-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add isPartialRecord
guard
#50
base: master
Are you sure you want to change the base?
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.