Description Usage Arguments Details Value Examples
Constructs an iterator that replicates the values of an object
.
1 2 3 |
object |
object to return indefinitely. |
times |
the number of times to repeat each element in |
length.out |
non-negative integer. The desired length of the iterator |
each |
non-negative integer. Each element is repeated |
This function is intended an iterable version of the standard
rep
function. However, as exception, the recycling
behavior of rep
is intentionally not implemented.
iterator that returns object
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.