The type of element to repeat.
The value to repeat as an iterable.
Optional
count: number = -1The number of times to repeat the value, infinite if not specified.
An iterable with a single item that is repeated over the specified times.
Generated using TypeDoc
Repeats a given value for the specified number of times as an iterable.