4 lines
61 B
Kotlin
Vendored
4 lines
61 B
Kotlin
Vendored
fun foo(x: Int) = when(x) { 1 -> 2
|
|
3 -> 4
|
|
else -> 6
|
|
} |