Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/collections/unzip.ts

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
import * as mod from "https://deno.land/std@0.186.0/collections/unzip.ts";

Functions

Builds two separate arrays from the given array of 2-tuples, with the first returned array holding all first tuple elements and the second one holding all the second elements.