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

filterNotToSet

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

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

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