Provides a method by which implementors can be compared to each other.
Inheritance Hierarchy
Members
No filters for this type
Methods
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
- -1: this is less than