minus-squaredaijoubu@lemmy.worldtoKotlin@programming.dev•Fun fact: Unlike Int, UInt doesn't extend Number, but sometimes it doeslinkfedilinkEnglisharrow-up2·1 year agoFor your example d I’m getting true. At least when using JVM. When switching to Wasm, both c and d result in false. So it seems that in Kotlin UInt is not a Number, but at runtime on the JVM it is. linkfedilink
For your example d I’m getting true. At least when using JVM. When switching to Wasm, both c and d result in false.
So it seems that in Kotlin UInt is not a Number, but at runtime on the JVM it is.