• Creates an array of grouped elements, the first of which contains the first elements of the given arrays, the second of which contains the second elements of the given arrays, and so on.

    Type Parameters

    • T1
    • T2

    Parameters

    • arrays1: List<T1>
    • arrays2: List<T2>

    Returns [undefined | T1, undefined | T2][]

    Returns the new array of grouped elements.

  • Type Parameters

    • T1
    • T2
    • T3

    Parameters

    • arrays1: List<T1>
    • arrays2: List<T2>
    • arrays3: List<T3>

    Returns [undefined | T1, undefined | T2, undefined | T3][]

    _.zip

  • Type Parameters

    • T1
    • T2
    • T3
    • T4

    Parameters

    • arrays1: List<T1>
    • arrays2: List<T2>
    • arrays3: List<T3>
    • arrays4: List<T4>

    Returns [undefined | T1, undefined | T2, undefined | T3, undefined | T4][]

    _.zip

  • Type Parameters

    • T1
    • T2
    • T3
    • T4
    • T5

    Parameters

    • arrays1: List<T1>
    • arrays2: List<T2>
    • arrays3: List<T3>
    • arrays4: List<T4>
    • arrays5: List<T5>

    Returns [undefined | T1, undefined | T2, undefined | T3, undefined | T4, undefined | T5][]

    _.zip

  • Type Parameters

    • T

    Parameters

    • Rest...arrays: (undefined | null | List<T>)[]

    Returns (undefined | T)[][]

    _.zip