Back to Lo

It Repeat

docs/data/it-repeat.md

1.53.0136 B
Original Source

Creates a sequence that repeats the initial value count times.

go
result := it.Repeat(3, "hello")
// ["hello", "hello", "hello"]