Kotlin mendapatkan tipe
val obj: Double = 5.0
println(obj.javaClass.name) // double
println(obj.javaClass.kotlin) // class kotlin.Double
println(obj.javaClass.kotlin.qualifiedName) // kotlin.Double
Ivan Drago