how to return to near statement working if condition false in kotlin code example Example: kotlin if else condition if (a > b) { max = a } else { max = b }