@lang:unzip
Transpose an array of pairs into two separate arrays.
Returns: array
Syntax
Section titled “Syntax”@lang:unzip(pairs)Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
pairs | array | Array of [a, b] pairs |
See Also
Section titled “See Also”- @zip — combine two arrays into pairs