Raku Books / Perl 6 at a Glance / Operators / Numerical operators

<, >, <=, >=

<, >, <=, and >= are the operands to compare Numeric values.

<=> is the operator to compare numbers. It returns the value of the Order type, which can be Order::Less, Order::More, or Order::Same.

Course navigation

==, !=   |   String operators