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

filterValues

fun <K, V> Attribute<Map<K, V>>.filterValues(predicate: (V) -> Boolean): Attribute<Map<K, V>>

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

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

This is simply a convenience function.

See Also

kotlin.collections.filterValues