Try to use ::class.java.isAssignableFrom() or javaClass.isAssignableFrom
r
Ruckus
04/02/2019, 5:30 PM
::class.java
doesn't work in MPP as far as I'm aware
g
GarouDan
04/02/2019, 5:32 PM
You’re write, this will not work with mpp, indeed, the reflection api is not complete, at least not for js for example and use something more simple like ::class.qualified name will not work