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

filterKeys

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

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

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