Hi Kotlin folks. Is there a stdlib function for `f...
# getting-started
r
Hi Kotlin folks. Is there a stdlib function for
filterAndMap
similar to Scala's
collect
? nothing popped out to me by browsing the source. would look like
fun <T> List<T>.collect(predicate: (T) -> Boolean, map: (T) -> R): List<R>