bool operator ==(other)

Whether this mirror is equal to other.

The equality holds if and only if

  1. other is a mirror of the same kind, and
  2. The library being reflected by this mirror and the library being reflected by other are the same library in the same isolate.

Source

bool operator ==(other);