trueif a value exists in the given string, array or object.
- if a callback is passed, checks to see if a truthy value is returned for any element in a collection or for any sub-string in a string.
- returns as soon as it finds a passing value and does not iterate over the entire collection.
npm i any --save
var any = ;
;//=> true;//=> false;//=> true;//=> true;//=> false
Install dev dependencies.
npm i -d && npm test
Copyright (c) 2015 Jon Schlinkert
Released under the MIT license
This file was generated by verb on February 26, 2015.