Function overEvery

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

    Parameters

    • Rest ...iteratees: Function[]
      Rest

    Returns OverEveryFunction

    Returns the new function.

    Since

    5.11.0

    Example

    const func = overEvery([Boolean, isFinite])

    func('1')
    // => true

    func(null)
    // => false

    func(NaN)
    // => false