Checks if valueA is equal to valueB using a Comparator.
valueA
valueB
const isStringEqualTo = isEqualTo(stringComparator);const result = isStringEqualTo("abc", "abc");console.log(result); // true
true if valueA is equal to valueB, otherwise false
true
false
the Comparator value type
the Comparator to use
Generated using TypeDoc
Checks if
valueAis equal tovalueBusing a Comparator.Example
Returns
trueifvalueAis equal tovalueB, otherwisefalse