mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 08:31:29 +00:00
9 lines
135 B
Kotlin
9 lines
135 B
Kotlin
fun Int.contains(i : Int) = true
|
|
|
|
fun box(): String {
|
|
when (1) {
|
|
in 2 -> return "OK"
|
|
else -> return "fail"
|
|
}
|
|
}
|