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

plus

@JvmName("plusArray") operator fun <T> Set<T>.plus(elements: Field<Array<out T>>): Field<Set<T>>
@JvmName("plusElement") operator fun <T> Set<T>.plus(element: Field<T>): Field<Set<T>>
@JvmName("plusSequence") 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>>

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

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

This is simply a convenience function.

See Also

kotlin.collections.plus