Documentation / dataflow-async / com.femastudios.dataflow.async.extensions / filterNotToSet
Go to reference

filterNotToSet

fun <T> Attribute<Iterable<T>>.filterNotToSet(predicate: (T) -> Boolean): Attribute<Set<T>>
fun <T> Attribute<Sequence<T>>.filterNotToSet(predicate: (T) -> Boolean): Attribute<Set<T>>

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

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

This is simply a convenience function.

See Also

com.femastudios.kotlin.core.filterNotToSet