Function overSome

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

    Parameters

    • Rest...iteratees: Function[]

    Returns OverSomeFunction

    Returns the new function.

    5.11.0

    const func = overSome([Boolean, isFinite])

    func('1')
    // => true

    func(null)
    // => true

    func(NaN)
    // => false