Home > nifty-tou > IntRange > compareTo
Compares this object with the specified object for order.
Unbounded (null
) values are ordered before bounded (non-null
) values.
Signature:
/** @override */
compareTo(o: IntRange): number;
Parameter | Type | Description |
---|---|---|
o | IntRange | the range to compare to |
Returns:
number
-1
, 0
, or 1
if this is less than, equal to, or greater than o