Class SyntaxAbstract

The fluent syntax for Ordering.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

The property that discriminates Ordering.

Methods

  • Compare this and that Ordering to determine their ordering.

    Parameters

    Returns Ordering

    Remarks

    When ordered, Less compares as less than Equal which compares as less than Greater.

  • Compare this and that Ordering to determine their equality.

    Parameters

    Returns boolean

    Remarks

    Two Ordering are equal if they are the same variant.

  • Test whether this Ordering is Less.

    Parameters

    Returns this is Less

  • Reverse this Ordering.

    Parameters

    Returns Ordering

    Remarks

    • Less becomes Greater.
    • Greater becomes Less.
    • Equal remains Equal.
  • Convert this Ordering to a number.

    Parameters

    Returns 0 | 1 | -1

    Remarks

    • If this is Less, return -1.
    • If this is Greater, return 1.
    • If this is Equal, return 0.

Generated using TypeDoc