Interface Comparable<T>

API for a comparison between similar objects.

Type Parameters

  • T

Hierarchy

  • Comparable

Implemented by

Methods

Methods

  • Compare this instance to another.

    Parameters

    • o: undefined | T

      the object to compare to

    Returns number

    negative value, zero, or positive value if this instance is less than, equal to, or greater than o

Generated using TypeDoc