functional
some
for an array.
npm install fj-some --save
var some = require('fj-some');
some(elem => elem > 10,[2, 5, 8, 1, 4]); // False.
##API
cb -> array
A curried function that expects:
-
cb
[required] : A callback function that receives:currentValue
,index
andarray
. -
array
[required]: The array on which the function is applied.