Kenneth
Mykola Gurov
val operation: (InputValue)->Unit = {}
Tobias Berger
when (a) { 1 -> doSomething() 2 -> { /* do nothing */ } 3 -> throw MyException() }
Ruckus
when (a) { 1 -> doSomething() 2 -> {} // Do nothing 3 -> throw MyException() }
ephemient
Unit
A modern programming language that makes developers happier.