Skip to main content

Any.>

>that

Group: Operators
Aliases: greater than

Documentation

Checks if self is greater than that.

To be comparable, a custom object must have an associated comparator which will return Ordering.Less/Greater for unequal values. Otherwise, this will raise Incomparable_Values error. See Ordering.enso for information how comparators work.

Arguments

  • that: The value to compare self against.

Examples

Checking if the variable a is greater than 147.

      from Standard.Base import all

example_greater =
a = 7 * 28
a > 147