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

filterNotNull

fun <T : Any> Field<Iterable<T?>>.filterNotNull(): Field<List<T>>

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

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

This is simply a convenience function.

See Also

kotlin.collections.filterNotNull


fun <T : Any> Field<Sequence<T?>>.filterNotNull(): Field<Sequence<T>>

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

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

This is simply a convenience function.

See Also

kotlin.sequences.filterNotNull