.overEvery([predicates=[.identity]])

sourcenpm package

Creates a function that checks if all of the predicates return truthy when invoked with the arguments it receives.

Since

4.0.0

Arguments

  • [predicates=[.identity]] (…(Function|Function[]))_: The predicates to check.

Returns

(Function): Returns the new function.

Example

  1. var func = _.overEvery([Boolean, isFinite]);
    func('1');
    // => true
    func(null);
    // => false
    func(NaN);
    // => false