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

support bindAll(obj, filterFn) #136

Open
tjmehta opened this issue Jun 16, 2016 · 1 comment
Open

support bindAll(obj, filterFn) #136

tjmehta opened this issue Jun 16, 2016 · 1 comment

Comments

@tjmehta
Copy link
Owner

tjmehta commented Jun 16, 2016

var isHandler = function (key) {
  return /^handler/.test(key)
}
bindAll(obj, isHandler)
@tjmehta
Copy link
Owner Author

tjmehta commented Jun 22, 2016

and also regexp:

bindAll(obj, /^handler/)

requires 101/matches, #5

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

No branches or pull requests

1 participant