Skip to main content
Module

x/itertools/mod.ts>izipMany

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

Like the other izips (izip, izip3, etc), but generalized to take an unlimited amount of input iterables. Think izip(*iterables) in Python.

Note: Due to Flow type system limitations, you can only "generially" zip iterables with homogeneous types, so you cannot mix types like <A, B> like you can with izip2().

Parameters

...iters: Array<Iterable<T>>

Returns

Iterable<Array<T>>