Is it somehow possible to have an completely empty...
# announcements
b
Is it somehow possible to have an completely empty when-else block? atm I have to add atleast curly braces, is there a way to omit them?
Copy code
when(i) {
   is 1 -> println("its 1")
   else -> {
   }
}