interval.of
The closed interval from t0 to t1, kept in the order given.
Usage
Interval.of(t0: number, t1: number): IntervalParameters
t0numberThe start value.
t1numberThe end value; may be less than
t0.
Returns
A new { t0, t1 }; the ends are not sorted or checked.
Example
Interval.of(2, 5) // → { t0: 2, t1: 5 }