Files
2022-10-05 15:06:52 +00:00

10 lines
177 B
Kotlin
Vendored

fun test(b: Any?): Int {
<expr>b is Number</expr>
if (b is String) {
return 54
} else if (b is Int) {
return 87
} else {
return 0
}
}