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

Add _.drop as the opposite of _.pick. #53

Closed
jdalton opened this issue Jul 18, 2012 · 2 comments
Closed

Add _.drop as the opposite of _.pick. #53

jdalton opened this issue Jul 18, 2012 · 2 comments

Comments

@jdalton
Copy link
Member

jdalton commented Jul 18, 2012

Add _.drop to create a shallow clone of object excluding the specified properties. Property names may be specified as individual arguments or as arrays of property names.

Patched here.

@jdalton jdalton closed this as completed Jul 18, 2012
@jakecraige
Copy link

This is no longer how drop behaves, is there something in lodash now that does this same thing?

edit:
nvm. It's _.omit

@lock
Copy link

lock bot commented Jan 20, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

2 participants