mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
7 lines
159 B
Kotlin
7 lines
159 B
Kotlin
fun ok(b: Boolean) = if (b) "OK" else "Fail"
|
|
|
|
fun box(): String {
|
|
val data = java.util.Arrays.asList("foo", "bar")!!
|
|
return ok(data.contains("foo"))
|
|
}
|