val ints3 = IntArray(10, { it }) // return from th...
# getting-started
v
val ints3 = IntArray(10, { it }) // return from the whole function fun returnfromfunction1() { print("Start of function 1") println() ints3.forEach { if (it == 6) { return } println(it) } print("end of function 1") } No it exists from the whole function