https://kotlinlang.org logo
j

james.cruz

11/29/2016, 9:53 AM
what about?:
Copy code
when (t) {
  is Type1, is Type2, is Type3 -> doStuff()
}