10 lines
118 B
Kotlin
Vendored
10 lines
118 B
Kotlin
Vendored
external interface I
|
|
|
|
external interface J
|
|
|
|
fun box(a: Any) = when (a) {
|
|
is I -> 0
|
|
!is J -> 1
|
|
else -> 2
|
|
}
|