Documentation / dataflow / com.femastudios.dataflow.extensions / dropWhile
Go to reference

dropWhile

fun <T> Field<Iterable<T>>.dropWhile(predicate: (T) -> Boolean): Field<List<T>>

Same as dropWhile, but accepts Field and returns a new Field.

Calling this function is equivalent to use transform and calling dropWhile in the transformation function.

This is simply a convenience function.

See Also

kotlin.collections.dropWhile


fun <T> Field<Sequence<T>>.dropWhile(predicate: (T) -> Boolean): Field<Sequence<T>>

Same as dropWhile, but accepts Field and returns a new Field.

Calling this function is equivalent to use transform and calling dropWhile in the transformation function.

This is simply a convenience function.

See Also

kotlin.sequences.dropWhile


fun Field<String>.dropWhile(predicate: (Char) -> Boolean): Field<String>

Same as dropWhile, but accepts Field and returns a new Field.

Calling this function is equivalent to use transform and calling dropWhile in the transformation function.

This is simply a convenience function.

See Also

kotlin.text.dropWhile