tock / ai.tock.shared / kotlin.collections.Iterable / mapNotNullValues

mapNotNullValues

fun <T, K, V> Iterable<T>.mapNotNullValues(transform: (T) -> Pair<K, V?>): List<Pair<K, V>> (source)

Map not null values of the Pair results of the specified transformation.