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