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

filterNotNullToSet

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

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

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