gjesse
fun main(args: Array<String>) { val l = listOf(1,2,3,4) val res = l.mapNotNull { if (it > 2) it else null }.firstOrNull() println(res) }