Join Slack
Powered by
You can do `myCollection.map { it.name }.filterNot...
# android
m
marstran
07/11/2017, 8:35 AM
You can do
myCollection.map { it.name }.filterNotNull().map { MyClass(it) }
. Requires 2 map-steps though.
Open in Slack
Previous
Next