📘 Numeric operators to compare numbers in Perl 6

📘 Numeric operators to compare numbers in Raku

N. B. Perl 6 has been renamed to Raku. Click to read more.


<, >, <=, 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.

Leave a Reply