Join Slack
Communities
Powered by
I use (in a similar use case) the following: `inli...
# announcements
v
vonox7
02/12/2016, 8:59 PM
I use (in a similar use case) the following:
inline fun <reified T : Any> simpleName() = T::class.java.simpleName
. E.g.
simpleName<Int>()
returns "Integer". Very kotlin specific syntax 😄
2
Views
Open in Slack
Previous
Next