is there is way to check more than one Instance t...
# announcements
a
is there is way to check more than one Instance type using a single “case” in “when”. Like for example
Copy code
when(x) {
 is String, is Int -> {
    print("x is an integer or string")
 }
 else -> {
    print("x is unknown")
    }
}
please let me know if there is any alternative way of checking multiple instance type in a single “case” block