operator >= method

bool operator >=(
  1. CssValue other
)

Returns whether this value's number is greater than or equal to that of other.

Throws an error if the unit of this value and other do not match.

Implementation

bool operator >=(CssValue other) {
  _checkMatchingUnits(other);
  return number >= other.number;
}