Can I do something like this? If yes, how? ```chec...
# announcements
c
Can I do something like this? If yes, how?
Copy code
check(blah: Any?) {
  when (blah) {
    is String && blah.length != 11 -> throwError("length should be 11")
}