return
return stops the current function or method and returns the value to the caller.
Examplefun subtract_one(i: Int): Int { if i == 0 { return 0 } i - 1 }
fun subtract_one(i: Int): Int { if i == 0 { return 0 } i - 1 }