Back to Lo

It Slice

docs/data/it-slice.md

1.53.0131 B
Original Source

Returns a sub-sequence from start index to end index (exclusive).

go
result := it.Slice(it.Range(1, 10), 2, 5)
// [3, 4, 5]