2.0.1 • Published 9 years ago
@ndhoule/some v2.0.1
some 
Check if a predicate function returns true for any value in a collection.
Installation
$ component install ndhoule/some
$ npm install @ndhoule/someAPI
some(predicate : Function, collection : Array|Object|String)
var isEven = function(num) { return num % 2 === 0; };
some(isEven, [1, 2, 3]); // => true
some(isEven, [1, 3, 5]); // => false
some(isEven, [2, 4, 6]); // => trueLicense
Released under the MIT license.