temporal-fns
    Preparing search index...

    Function compare

    • Polymorphic compare for any pair of same-typed Temporal values. Returns a negative number if a < b, 0 if equal, positive if a > b — matching the convention used by each Temporal.X.compare static.

      Both arguments must be the same Temporal type.

      Type Parameters

      Parameters

      Returns number