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

containsKey

fun <K> Field<Map<in K, *>>.containsKey(key: K): Field<Boolean>
fun <K> Field<Map<in K, *>>.containsKey(key: Field<K>): Field<Boolean>

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

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

This is simply a convenience function.

See Also

kotlin.collections.Map.containsKey