UNPKG

iteragain

Version:

Javascript Iterable/Iterator/Generator-function utilities.

5 lines 263 B
import type { IteratorOrIterable } from './types'; /** Attaches the index at each value of `arg`. */ export declare function enumerate<T>(arg: IteratorOrIterable<T>): IterableIterator<[number, T]>; export default enumerate; //# sourceMappingURL=enumerate.d.ts.map