conj source npm
_.conj(predicates)
Creates a function that checks if all of the predicates
return
truthy when invoked with the arguments provided to the created function.
Arguments
- predicates (...(Function|Function[])
The predicates to check.
Returns (Function)
Returns the new function.
Example
var conjed = _.conj(Boolean, isFinite);
conjed('1');
// => true
conjed(null);
// => false
conjed(NaN);
// => false