📅  最后修改于: 2022-03-11 14:53:34.531000             🧑  作者: Mango
val number = 5
if(number is Int) {
println("number is of type Int")
}
println("${number::class.simpleName}") // "Int"
println("${number::class.qualifiedName}") // "kotlin.Int"