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