Checks if valueA is less than valueB using a Comparator.
valueA
valueB
const isStringLessThan = isLessThan(stringComparator);const result = isStringLessThan("aa", "ab");console.log(result); // true
true if valueA is less than valueB, otherwise false
true
false
the Comparator value type
the Comparator to use
Generated using TypeDoc
Checks if
valueAis less thanvalueBusing a Comparator.Example
Returns
trueifvalueAis less thanvalueB, otherwisefalse