Function stringGetNaturalComparator

  • Gets a string natural 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: string
        • b: string

        Returns number

Generated using TypeDoc