@jasmith79/sequable
Version:
Library functions for working with generators
10 lines (9 loc) • 324 B
text/typescript
import { Sequable } from "./sequable.mjs";
/**
* Yields tuples of the results of the two given Iterables, Iterators, or
* generator functions.
*
* @param a The first sequence to combine.
* @param b The second sequence to combine.
*/
export declare function zip<T, U>(a: Sequable<T>, b: Sequable<U>): Iterable<[T, U]>;