dropWhile
Returns a sequence containing all elements except first elements that satisfy the given predicate.
fun <T> Sequence<T>.dropWhile(predicate: (T) -> Boolean): Sequence<T>(source)
val numbers = sequenceOf(1, 2, 3, 4, 5)
val dropped = numbers.dropWhile { it < 3 }.toList()
println(dropped) // Output: [3, 4, 5]