https://kotlinlang.org logo
#getting-started
Title
# getting-started
m

miha-x64

01/29/2017, 8:56 PM
Copy code
when (obj) {
    is Rectangle -> {}
    is Circle -> {}
}