perhaps what I'm looking for is `mapNotUnit` so th...
# getting-started
n
perhaps what I'm looking for is
mapNotUnit
so that I could do
listOf(1,2,3).mapNotUnit { if (it %2 != 0) "hi ${it}" else Unit }
. But questionable if that is really better than using
null
as
unwanted