😦 I've relied on an outdated post on the web. Shame on me.
Thanks for the info!
Does that also work with interfaces? How does it handle primitive types and boxing?
s
snrostov
10/23/2017, 10:23 AM
Oh, sorry. Looks like,
KClass.isSubclassOf
/
KClass.isSuperclassOf
not implemented in kotlin native yet.
m
Marc Knaup
10/23/2017, 10:31 AM
But at least it's there so it's likely to become implemented in the near future :)