7.4.2 Comparing durations
The following operations are exported from the Date module.
=
Sealed method
<
Sealed method
duration1 = duration2 => equal?
duration1 < duration2 => less-than?
- As with dates, you can perform arithmetic-like operations on durations to test for equality, or to test whether one duration is shorter than another.