greaterThan method
Checks if value is greater than other.
This is equivalent to the >
operator.
Returns true
if this
is greater than other
.
Returns false
if this
is less than or equal to other
.
Implementation
bool greaterThan(num other) => isGreater(this, other);