Hey JB, I'd like to do something like : ```kotlin ...
# announcements
s
Hey JB, I'd like to do something like :
Copy code
kotlin
public inline fun <reified T> myFunction() {

    when (T) {
        is String -> println("String")
        is Int -> println("Int")
        else -> println("...other")
    }

}
But it's not correct. Any way to get the same semantic ?