bool identical(
)

Check whether two references are to the same object.

Source

/**
 * Check whether two references are to the same object.
 */
external bool identical(Object a, Object b);