unzip
Modified on Fri, 18 Aug 2023
Description
Return the new array of regrouped elements.
Syntax
unzip(array)
Parameters
Input Parameter | Type | Description |
---|---|---|
array | Array> | The array of grouped elements to process. |
Return value
Type |
---|
Array<any> |
Sample
Example | Result | Description |
---|---|---|
unzip([['a', 1, true], ['b', 2, false]]) | [['a', 'b'], [1, 2], [true, false]] | Returns the new array of regrouped elements |
To view all the List functions, click here.
See Also
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article