The Kotlin sequence “skips” the first N entries

How can I skip the first N entries of a kotlin sequence / list?

I am looking for the kotlin C # LINQ equivalent of "skip" .

+8
sequences kotlin
source share
1 answer

You are probably looking for a "drop" function , known for example from lodash :

val seq = 1..10 seq.drop(5) > [6, 7, 8, 9, 10] 
+12
source share

All Articles