Back to Lo

Core Drop

docs/data/core-drop.md

1.53.0115 B
Original Source

Drops n elements from the beginning of a slice.

go
lo.Drop([]int{0, 1, 2, 3, 4, 5}, 2)
// []int{2, 3, 4, 5}