Function cmp

  • Compare two Ord to determine their ordering.

    Type Parameters

    • T extends Ord<T>

    Parameters

    • lhs: T
    • rhs: T

    Returns Ordering

    Remarks

    cmp(lhs, rhs) is equivalent to lhs[Ord.cmp](rhs).

Generated using TypeDoc