Kotlin - Control Flow as Expressions
Why does
when without argument in Kotlin not require an argument, and how does it decide which branch to execute?