I

IComparable

Provides a method by which implementors can be compared to each other.
Inheritance Hierarchy

Members

No filters for this type

Methods

Compares this object to the given object of the same type.
abstract

Parameters

obj: any
The object to compare this to.

Return Value

number
  • -1: this is less than obj
  • 0: this is equal to obj
  • 1: this is greater than obj