MCPcopy Create free account
hub / github.com/DanWahlin/CustomerManagerStandard / stringEquals

Function stringEquals

CustomerManager/Scripts/breeze.debug.js:10720–10734  ·  view source on GitHub ↗
(a, b, lqco)

Source from the content-addressed store, hash-verified

10718 }
10719
10720 function stringEquals(a, b, lqco) {
10721 if (b == null) return false;
10722 if (typeof b !== 'string') {
10723 b = b.toString();
10724 }
10725 if (lqco.usesSql92CompliantStringComparison) {
10726 a = (a || "").trim();
10727 b = (b || "").trim();
10728 }
10729 if (!lqco.isCaseSensitive) {
10730 a = (a || "").toLowerCase();
10731 b = (b || "").toLowerCase();
10732 }
10733 return a === b;
10734 }
10735
10736 function stringStartsWith(a, b, lqco) {
10737 if (!lqco.isCaseSensitive) {

Callers 1

getBinaryPredicateFnFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected