Function numberGetValueComparator

  • Gets a number comparator function in the given order from the values extracted using the given supplier function.

    Type Parameters

    • T

    Parameters

    • order: Order = "desc"

      The order of the result.

    • extractor: Function1<T, number>

    Returns ((a, b) => number)

    a comparator function in the given order.

      • (a, b): number
      • Parameters

        Returns number

Generated using TypeDoc