UNPKG

@jasmith79/sequable

Version:

Library functions for working with generators

10 lines (9 loc) 323 B
import { Sequable } from "./sequable.js"; /** * 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]>;