DeviceId.equals() method
Compares two IDs to verify whether or not they point at the same device.
Signature
equals(that: DeviceId): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
that |
DeviceId | The other DeviceId that you want to compare this one to. |
Returns
Boolean.
Values are:
-
true
if the two IDs refer to the same device -
false
if the two IDs refer to different devices