Description

Return the new array of regrouped elements.

Syntax

unzip(array)

Parameters

Input ParameterTypeDescription
arrayArray>The array of grouped elements to process.

Return value

Type
Array<any>

Sample

ExampleResultDescription
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