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

filterNotNullToSet

fun <T : Any> Field<Iterable<T?>>.filterNotNullToSet(): Field<Set<T>>
fun <T : Any> Field<Sequence<T?>>.filterNotNullToSet(): Field<Set<T>>

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

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

This is simply a convenience function.

See Also

com.femastudios.kotlin.core.filterNotNullToSet