UNPKG

iteragain

Version:

Javascript Iterable/Iterator/Generator-function utilities.

10 lines 371 B
/** Repeats `value` a certain number of times. */ export declare class RepeatIterator<T> implements IterableIterator<T> { protected value: T; protected times: number; constructor(value: T, times: number); [Symbol.iterator](): IterableIterator<T>; next(): IteratorResult<T>; } export default RepeatIterator; //# sourceMappingURL=RepeatIterator.d.ts.map