All instances of PartialOrd must satisfy following conditions:

  • Transitivity: If f is PartialOrd, for all a, b and c; f(a, b) == f(b, c) == f(a, c).
  • Duality: If f is PartialOrd, for all a and b; f(a, b) == -f(b, a).

Type Parameters

  • Lhs

  • Rhs = Lhs

Hierarchy

Properties

Properties

eq: ((l, r) => boolean)

Type declaration

    • (l, r): boolean
    • Parameters

      • l: Lhs
      • r: Rhs

      Returns boolean

partialCmp: ((lhs, rhs) => Option<Ordering>)

Type declaration

Generated using TypeDoc