Returns true when two references drive the same underlying instance, even if == reports them as unequal. It is the counterpart to cloneref: a clone is ~= its source, but compareinstances still sees through to the same object.

Parameters

Instance
required
The first reference.
Instance
required
The second reference.

Returns

boolean
true if both drive the same instance.

Example

Errors