Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 776 Bytes

nifty-tou.intrange.compareto.md

File metadata and controls

29 lines (17 loc) · 776 Bytes

Home > nifty-tou > IntRange > compareTo

IntRange.compareTo() method

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;

Parameters

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