Hi, what is the Kotlin equivalent of `Long::longVa...
# getting-started
a
Hi, what is the Kotlin equivalent of
Long::longValue()
: https://www.geeksforgeeks.org/long-longvalue-method-in-java/ ?
e
none. Kotlin will automatically box to Long/unbox to long (as does Java since 1.5). the compiler will emit bytecode that calls Long.longValue() as needed
a
ah, okay thanks !