Kotlin - Control Flow as Expressions
What is the main purpose of the
when expression in Kotlin?when expression in Kotlin?whenwhen expression is used to choose between different actions depending on the value it checks.when.when chooses actions by value [OK]when as a smarter switch [OK]when with loopswhen declares variableswhen with function definitions15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions