# unzip Gathers elements in the same position in an internal array from a grouped array of elements and returns them as a new array. ## Signature ```typescript type Unzip = { [I in keyof K]: Array }; function unzip(zipped: Array<[...T]>): Unzip; ``` ### Parameters - `zipped` (`Array<[...T]>`): An array of grouped elements. ### Returns (`Unzip`): A new array created by collecting elements at the same position in an internal array. ## Example ```typescript unzip([ ['a', true, 1], ['b', false, 2], ]); // return: [['a', 'b'], [true, false], [1, 2]] ```