W3cubDocs

/Kotlin

identityHashCode

Platform and version requirements: Native (1.3)
fun Any?.identityHashCode(): Int

Compute stable wrt potential object relocations by the memory manager identity hash code.

Return 0 for null object, identity hash code otherwise.

© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.native/identity-hash-code.html