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

dropLastWhile

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

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

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

This is simply a convenience function.

See Also

kotlin.collections.dropLastWhile


fun Attribute<String>.dropLastWhile(predicate: (Char) -> Boolean): Attribute<String>

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

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

This is simply a convenience function.

See Also

kotlin.text.dropLastWhile