https://kotlinlang.org logo
#getting-started
Title
# getting-started
g

gjesse

03/17/2017, 4:41 PM
so
Copy code
list().mapNotNull {if (it %2 != 0) listOf("hi $it") else null }.flatten()
perhaps