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

containsKey

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

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

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