damianpetla
fun check(blah: Any?) { when(blah) { blah is String && blah.length != 11 -> throw RuntimeException("length should be 11") } }