Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
inArray - Underscore mixin to find if a value exists in an array #cc #underscore
inArray: function(value, array){
return array.indexOf(value) > -1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment