how about `listOf(1,2,3,4).map { if (it == 2) 8 el...
# stdlib
m
how about
listOf(1,2,3,4).map { if (it == 2) 8 else it}