Create an iterator that returns a value a specified number of times.
Arguments
- x
The value to return repeatedly.
- times
The number of times to repeat the value. Default value is infinity.
Value
an iteror.
Create an iterator that returns a value a specified number of times.
The value to return repeatedly.
The number of times to repeat the value. Default value is infinity.
an iteror.