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

filterKeys

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

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

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

This is simply a convenience function.

See Also

kotlin.collections.filterKeys