Skip to content
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

Proof of concept to IsPick util #16

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Proof of concept to IsPick util #16

wants to merge 3 commits into from

Conversation

deusz
Copy link

@deusz deusz commented Oct 7, 2022

Not sure of nested examples because it is not possible to achieve with Pick util.

Do you have idea how to implement it?

Follow up on: #15 (comment)

@deusz
Copy link
Author

deusz commented Oct 9, 2022

I think I have basic functionality of IsPick. For my purpose I still need sth more than IsPick, because I need to check also nested props and arrays.
But IsPick is a good start.

@garronej
Copy link
Owner

garronej commented Oct 9, 2022

Thank you for your PR!
Everything looks good to me!
I just added some simple test case that helps grasp what this is about, whould you merge: #16

Would you go the extra mile of adding a documentation page for it? Here is the invite link.
It's realy easy to eddit. GitBook provide a "what you see is what you get" editor.

Thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants