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

minus

@JvmName("minusArray") operator fun <T> Set<T>.minus(elements: Field<Array<out T>>): Field<Set<T>>
@JvmName("minusElement") operator fun <T> Set<T>.minus(element: Field<T>): Field<Set<T>>
@JvmName("minusSequence") 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>>

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

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

This is simply a convenience function.

See Also

kotlin.collections.minus