mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 15:53:40 +00:00
6 lines
96 B
Kotlin
6 lines
96 B
Kotlin
fun box() = when {
|
|
1 > 2 -> "false"
|
|
1 >= 1 -> "OK"
|
|
else -> "else"
|
|
}
|