unzip (Functional Programming) es-toolkit
Creates a function that regroups zipped arrays by position. Use it with pipe.
Info
Usage
unzip takes an array of grouped values and returns arrays that collect the values at each position.
The returned array's length matches the longest nested array, and missing positions from shorter arrays are filled with undefined.
Parameters
This function takes no arguments; call it as unzip().
Returns
A function that maps zipped rows to arrays grouped by position.
Source: es-toolkit
Re-exported verbatim from es-toolkit. Implementation, edge cases, and performance behavior are owned upstream. This page mirrors the documentation at the pinned version; the linked source is authoritative.