Looking through the wiki-docs I cannot figure out how to reference class literals for comparisons.
fun isString(valueType : Class<*>) = valueType == String.class;
Looking through the wiki-docs I cannot figure out how to reference class literals for comparisons.
fun isString(valueType : Class<*>) = valueType == String.class;
I found the answer
javaClass<String>();