Module

x/lodash_es/mod.ts>unzip

lodash for deno use
Latest
function unzip
import { unzip } from "https://dotland.deno.dev/x/lodash_es@v0.0.2/mod.ts";

This method is like _.zip except that it accepts an array of grouped elements and creates an array regrouping the elements to their pre-zip configuration.

Examples

var zipped = _.zip(['a', 'b'], [1, 2], [true, false]); // => [['a', 1, true], ['b', 2, false]]

_.unzip(zipped); // => [['a', 'b'], [1, 2], [true, false]]

Parameters

array

The array of grouped elements to process.