-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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 new function findKeys #2681
base: master
Are you sure you want to change the base?
Conversation
That may or may not be desirable because it would probably entail a little bit less efficiency. Much of that efficiency could probably be gained back by not declaring This version of
In that respect, N.B. I have not tested these implementations of |
@anvyne I think this implementation is great, but after testing it, If we manage to modify findKeys as a collection method, I totally agree to use it in |
There is a sort of precedence, actually, if we look at
Arguably, if there exists the object method However, adding another method like If |
From issue #2676
I adapt this function from existing one
findKey
, but tell me if you think about other needed test/documentation.