bool operator ==(other)

Tests whether other is a SendPort pointing to the same ReceivePort as this one.

Source

bool operator==(var other);