UNPKG

iteragain

Version:

Javascript Iterable/Iterator/Generator-function utilities.

12 lines 472 B
/** Returns the cartesian product of the input `iterators`. */ export declare class ProductIterator<T> implements IterableIterator<T[]> { protected done: boolean; protected pools: T[][]; protected indices: number[]; protected i: number; constructor(iterators: Iterator<T>[], repeat: number); [Symbol.iterator](): IterableIterator<T[]>; next(): IteratorResult<T[]>; } export default ProductIterator; //# sourceMappingURL=ProductIterator.d.ts.map