Creates a function that checks if any of the predicates return truthy when invoked with the arguments it receives.
predicates
5.11.0
const func = overSome([Boolean, isFinite])func('1')// => truefunc(null)// => truefunc(NaN)// => false Copy
const func = overSome([Boolean, isFinite])func('1')// => truefunc(null)// => truefunc(NaN)// => false
Rest
Returns the new function.
Creates a function that checks if any of the
predicates
return truthy when invoked with the arguments it receives.Since
5.11.0
Example