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

Extensions for kotlin.collections.Set

contains

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

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

containsAll

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

fun <E> Set<E>.containsAll(elements: Field<Collection<E>>): Field<Boolean>

minus

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

operator fun <T> Set<T>.minus(elements: Field<Array<out T>>): Field<Set<T>>
operator fun <T> Set<T>.minus(element: Field<T>): Field<Set<T>>
operator fun <T> Set<T>.minus(elements: Field<Sequence<T>>): Field<Set<T>>
operator fun <T> Set<T>.minus(elements: Field<Iterable<T>>): Field<Set<T>>

plus

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

operator fun <T> Set<T>.plus(elements: Field<Array<out T>>): Field<Set<T>>
operator fun <T> Set<T>.plus(element: Field<T>): Field<Set<T>>
operator fun <T> Set<T>.plus(elements: Field<Sequence<T>>): Field<Set<T>>
operator fun <T> Set<T>.plus(elements: Field<Iterable<T>>): Field<Set<T>>