Files
lo/docs/data/it-dropbyindex.md
T
2025-10-08 14:55:05 +02:00

459 B

name, slug, sourceRef, category, subCategory, signatures, playUrl, variantHelpers, similarHelpers, position
name slug sourceRef category subCategory signatures playUrl variantHelpers similarHelpers position
DropByIndex dropbyindex it/seq.go#L581 it sequence
func DropByIndex[T any, I ~func(func(T) bool)](collection I, indexes ...int) I
it#slice#drop
core#slice#dropbyindex
core#slice#withoutnth
55

Removes elements from a collection at the specified indexes.

result := it.DropByIndex(it.Range(1, 6), 1, 3)
// [1, 3, 5]