mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 15:53:55 +00:00
5 lines
83 B
Kotlin
Vendored
5 lines
83 B
Kotlin
Vendored
fun box() : String = when (true) {
|
|
((true)) -> "OK"
|
|
(1 == 2) -> "Not ok"
|
|
}
|