filterNotNull

fun <T : Any> Flow<T?>.filterNotNull(): Flow<T> (source)

Returns a flow containing only values of the original flow that are not null.