• Checks if valueA is less than valueB using a Comparator.

    Example

    const isStringLessThan = isLessThan(stringComparator);
    const result = isStringLessThan("aa", "ab");
    console.log(result); // true

    Returns

    true if valueA is less than valueB, otherwise false

    Type Parameters

    Parameters

    Returns ((valueA: T, valueB: T) => boolean)

      • (valueA: T, valueB: T): boolean
      • Parameters

        • valueA: T
        • valueB: T

        Returns boolean

Generated using TypeDoc