https://kotlinlang.org logo
j

jstuyts-squins

09/13/2017, 1:47 PM
parentClass
is not a Kotlin type, but it is a variable (with type
Class<T>
). That is why you cannot use it with
is
. What is wrong with
isInstance(...)
?