break is possible, but with an additional wrapping...
# announcements
d
break is possible, but with an additional wrapping lambda:
Copy code
run {
        listOf(1, 2, 3, 4, 5).forEach {
            if (it%2 == 0) return@forEach // continue
            println(it)
            if (it == 3) return@run // break
        }
    }