Kotlin: Equivalent of getClass() for KClass
Question or issue of Kotlin Programming: In Java we can resolve a variable’s class through getClass() like something.getClass(). In Kotlin I am aware of something.javaClass which is nice but I want to be able to get the KClass in a similar way. I’ve seen the Something::class syntax but this is not what I need. I […]
Continue Reading