📜  kotlin Number to Long - Kotlin 代码示例
📅  最后修改于: 2022-03-11 14:53:33.756000             🧑  作者: Mango
代码示例1
val something: Any = getSomething()
if(something is Number) {
val longValue = something.toLong()
}