UNPKG

iteragain

Version:

Javascript Iterable/Iterator/Generator-function utilities.

8 lines 384 B
/** * Creates an infinite iterator that returns numbers starting from `start` with `step` added to each iteration. * @param start The number to start from (default: 0). * @param step The number to add to each iteration (default: 1) */ export declare function count(start?: number, step?: number): IterableIterator<number>; export default count; //# sourceMappingURL=count.d.ts.map