Options
All
  • Public
  • Public/Protected
  • All
Menu

Module over

Index

Functions Util

Util Functions

  • over(...iteratees: Function[]): OverFunction
  • Creates a function that invokes iteratees with the arguments it receives and returns their results.

    since

    5.11.0

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

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

    Parameters

    • Rest ...iteratees: Function[]

      The iteratees to invoke.

    Returns OverFunction

    Returns the new function.