kotlin Number to Long code example
Example: kotlin Number to Long
val something: Any = getSomething()
if(something is Number) {
val longValue = something.toLong()
}
val something: Any = getSomething()
if(something is Number) {
val longValue = something.toLong()
}