Documentation / dataflow / com.femastudios.dataflow.extensions / kotlin.collections.Set / contains
Go to reference

contains

fun <E> Set<E>.contains(element: Field<E>): Field<Boolean>

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

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

This is simply a convenience function.

See Also

kotlin.collections.Set.contains