We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
These functions will be renamed.
These functions are the almost same as pickBy/omitBy, but shorthand will be different.
// current const collection = { a: { bool: 0 }, b: { bool: 1 }, c: { bool: 1 } }; Aigle.pick(collection, 'bool'); // { b: {}, c: {} } _.pick(collection, 'bool'); // {} _.pickBy(collection, 'bool'); // { b: {}, c: {} } // after Aigle.pick(object, 'a'); // { a: {} } Aigle.pick(object, 'bool'); // {} Aigle.pickBy(object, 'bool'); // { b: {}, c: {} }
The text was updated successfully, but these errors were encountered:
refactor(pickBy): rename pick to pickBy
859bcbf
feat(pick): add pick #54
3b29c49
feat(omit): add omit
6a72f20
Done!
Sorry, something went wrong.
suguru03
No branches or pull requests
These functions will be renamed.
functions
new functions
These functions are the almost same as pickBy/omitBy, but shorthand will be different.
The text was updated successfully, but these errors were encountered: