operator >= method

bool operator >=(
  1. List<num> other
)

Returns true if the inequality >= holds for each component.

Implementation

bool operator >=(List<num> other) {
  mustHaveSameLength(other, operatorSymbol: '>');
  for (var i = 0; i < length; i++) {
    if (this[i] < other[i]) {
      return false;
    }
  }
  return true;
}