Function dateGetComparator

  • Gets a date comparator function in the given order.

    Parameters

    • order: Order = "desc"

      The order of the result.

    Returns ((a, b) => number)

    a comparator function in the given order.

      • (a, b): number
      • Parameters

        • a: Date
        • b: Date

        Returns number

Generated using TypeDoc