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

Make _.contains use _.indexOf for array-like collections. #1552

Closed
jdalton opened this issue Apr 4, 2014 · 2 comments · Fixed by #1556
Closed

Make _.contains use _.indexOf for array-like collections. #1552

jdalton opened this issue Apr 4, 2014 · 2 comments · Fixed by #1556

Comments

@jdalton
Copy link
Contributor

jdalton commented Apr 4, 2014

With the recent patch to remove native forks _.contains should fork for array-like objects using _.indexOf.

@jdalton jdalton changed the title Tweak _.contains to take _.indexOf for array-like collections. Tweak _.contains to use _.indexOf for array-like collections. Apr 4, 2014
@jdalton
Copy link
Contributor Author

jdalton commented Apr 6, 2014

/cc @davidchambers can you tackle this?

@jdalton jdalton changed the title Tweak _.contains to use _.indexOf for array-like collections. Make _.contains use _.indexOf for array-like collections. Apr 6, 2014
@davidchambers
Copy link
Contributor

Sure. I'll work on a PR.

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

Successfully merging a pull request may close this issue.

2 participants