interval<= ( i1 i2 -- ? )
Factor handbook » The language » Numbers » Intervals » Comparing intervals

Prev:interval< ( i1 i2 -- ? )
Next:interval> ( i1 i2 -- ? )


Vocabulary
math.intervals

Inputs
i1an interval
i2an interval


Outputs
?a boolean or incomparable


Word description
Compares i1 with i2, and outputs one of the following:
t if every point in i1 is less than or equal to every point in i2
f if every point in i1 is greater than every point in i2
incomparable if neither of the above conditions hold


Definition