sub infix:«<=>»
Documentation for sub infix:«<=>»
assembled from the following types:
class DateTime
From DateTime
(DateTime) sub infix:«<=>»
multi sub infix:«<=>»(DateTime \a, DateTime \b --> Order)
Compares the equivalent instant, returns the Order.
say DateTime.now <=> DateTime.now; # OUTPUT: «Less»