Files
T
2022-01-12 15:09:45 +01:00

5 lines
103 B
Kotlin
Vendored

fun use(x: Base): String =
when (x) {
is A -> "A"
is B -> "B"
}