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

    -1, 0, or 1 if this is less than, equal to, or greater than o

Generated using TypeDoc