operator == method

  1. @override
bool operator ==(
  1. Object other
)
override

Returns true iff the width and all bits of this are equal to other.

Implementation

@override
bool operator ==(Object other) {
  if (other is! LogicValue) {
    return false;
  }

  if (other.width != width) {
    return false;
  }

  return _equals(other);
}