UNPKG

iteragain

Version:

Javascript Iterable/Iterator/Generator-function utilities.

7 lines 581 B
import type { IteratorOrIterable } from './types'; /** Aggregates any number of iterables into one. Stops when all of the iterables is empty. */ export declare function zipLongest<A, B>(a: IteratorOrIterable<A>, b: IteratorOrIterable<B>): IterableIterator<[A, B]>; export declare function zipLongest<A, B, C>(a: IteratorOrIterable<A>, b: IteratorOrIterable<B>, c: IteratorOrIterable<C>): IterableIterator<[A, B, C]>; export declare function zipLongest(...args: IteratorOrIterable<any>[]): IterableIterator<any[]>; export default zipLongest; //# sourceMappingURL=zipLongest.d.ts.map