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

Extensions for kotlin.collections.Collection

contains

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

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

containsAll

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

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

plus

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

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