Function unzip

  • The inverse of zip and zipLongest. This function disaggregates the elements of the input iterator. The nth iterator in the returned tuple contains the nth element of each value in the input iterator. The length of the returned tuple is determined by the length of the first value in the input iterator.

    Type Parameters

    • T extends any[]

    Parameters

    Returns IterableIterator<T[number]>[]