/Dart 2

identityHashCode function

int identityHashCode (Object object)

Returns the identity hash code of object.

Returns the same value as object.hashCode if object has not overridden Object.hashCode. Returns the value that Object.hashCode would return on this object, even if hashCode has been overridden.

This hash code is compatible with identical.


external int identityHashCode(Object object);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.