find
Find the first matching value in an array.
Installation
$ component install component/find
API
find(array, fn)
Find with a function:
var tobi = ;
find(array, string)
Find with property strings:
;
find(array, object)
Find with object value matching:
var users = ;users;users;users; ;// => { name: 'Jane', age: 6, species: 'ferret' } ;// => undefined
License
MIT