4.17.11
3.10.1
2.4.2
1.3.1
_.overEvery([predicates=[_.identity]])
Creates a function that checks if all of the predicates
return
truthy when invoked with the arguments it receives.
Since
4.0.0
Arguments
argument
[predicates=[_.identity]]
type
...(Function|Function[])
description
The predicates to check.
Returns
(array)
Example
var func = _.overEvery([
Boolean,
isFinite,
]);
func("1");
// => true
func(null);
// => false
func(NaN);
// => false
var func = _.overEvery([Boolean, isFinite]);
func("1");
// => true
func(null);
// => false
func(NaN);
// => false