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

Extensions for kotlin.collections.Collection

contains

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

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

containsAll

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

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

plus

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

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