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

dropWhile

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

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

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> Attribute<Sequence<T>>.dropWhile(predicate: (T) -> Boolean): Attribute<Sequence<T>>

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

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 Attribute<String>.dropWhile(predicate: (Char) -> Boolean): Attribute<String>

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

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