iteragain
Version:
Javascript Iterable/Iterator/Generator-function utilities.
8 lines • 307 B
TypeScript
/**
* Repeats `value` a certain number of times.
* @param value The value to repeat.
* @param times The number of times to repeat `value` (default: Infinity).
*/
export declare function repeat<T>(value: T, times?: number): IterableIterator<T>;
export default repeat;
//# sourceMappingURL=repeat.d.ts.map