• This method is like _.zip except that it accepts an iteratee to specify how grouped values should be combined. The iteratee is invoked with four arguments: (accumulator, value, index, group).

    Type Parameters

    • T
    • TResult

    Parameters

    • arrays: List<T>

      The arrays to process.

    • iteratee: ((value1: T) => TResult)

      The function to combine grouped values.

    Returns TResult[]

    Returns the new array of grouped elements.

  • Type Parameters

    • T1
    • T2
    • TResult

    Parameters

    Returns TResult[]

    _.zipWith

  • Type Parameters

    • T1
    • T2
    • T3
    • TResult

    Parameters

    • arrays1: List<T1>
    • arrays2: List<T2>
    • arrays3: List<T3>
    • iteratee: ((value1: T1, value2: T2, value3: T3) => TResult)

    Returns TResult[]

    _.zipWith

  • Type Parameters

    • T1
    • T2
    • T3
    • T4
    • TResult

    Parameters

    • arrays1: List<T1>
    • arrays2: List<T2>
    • arrays3: List<T3>
    • arrays4: List<T4>
    • iteratee: ((value1: T1, value2: T2, value3: T3, value4: T4) => TResult)

    Returns TResult[]

    _.zipWith

  • Type Parameters

    • T1
    • T2
    • T3
    • T4
    • T5
    • TResult

    Parameters

    • arrays1: List<T1>
    • arrays2: List<T2>
    • arrays3: List<T3>
    • arrays4: List<T4>
    • arrays5: List<T5>
    • iteratee: ((value1: T1, value2: T2, value3: T3, value4: T4, value5: T5) => TResult)
        • (value1, value2, value3, value4, value5): TResult
        • Parameters

          • value1: T1
          • value2: T2
          • value3: T3
          • value4: T4
          • value5: T5

          Returns TResult

    Returns TResult[]

    _.zipWith

  • Type Parameters

    • T
    • TResult

    Parameters

    • Rest...iteratee: (
          | undefined
          | null
          | ((...group: T[]) => TResult)
          | List<T>)[]

    Returns TResult[]

    _.zipWith