Class Literals?


#1

Looking through the wiki-docs I cannot figure out how to reference class literals for comparisons.

fun isString(valueType : Class<*>) = valueType == String.class;


#2

I found the answer

javaClass<String>();