<@U0CP8EBRV>: you can do it like this ``` fun ch...
# announcements
d
@Czar: you can do it like this
Copy code
fun check(blah: Any?) {
        when(blah) {
            blah is String && blah.length != 11 -> throw RuntimeException("length should be 11")
        }
    }