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

x/itertools/builtins.ts>zip

🦕 A TypeScript port of Python's itertools and more-itertools for Deno
Go to Latest
function zip
import { zip } from "https://deno.land/x/itertools@v1.1.1/builtins.ts";

See izip.

Parameters

xs: Iterable<T1>
ys: Iterable<T2>

Returns

Array<[T1, T2]>