Dalinar
04/09/2017, 2:38 AMqux.getClass().equals(Foo.class), was just wondering if there was a simpler way in Kotlin - i guess something like qux.javaClass === Foo::javaClass is the shortest it can be - but I'm confused if it should be === or ==. I guess from the java code, it should be == (update: nope, that doesn't work - see reply thread)bmsantos
04/09/2017, 2:52 AM== is class loader safe and === is not.Dalinar
04/09/2017, 2:54 AM==Dalinar
04/09/2017, 4:20 AM== or === - this is the best I could do that works qux.javaClass === Foo::class.java or qux.javaClass.name == Foo::class.qualifiedName