equals method

bool equals(
  1. UR ur2
)

Implementation

bool equals(UR ur2) {
  return type == ur2.type &&
      arraysEqual(cbor, ur2.cbor);
}