Function over

  • Creates a function that invokes iteratees with the arguments it receives and returns their results.

    Parameters

    • Rest...iteratees: Function[]

      The iteratees to invoke.

    Returns OverFunction

    Returns the new function.

    5.11.0

    const func = over([Math.max, Math.min])

    func(1, 2, 3, 4)
    // => [4, 1]