(a, b, lqco)
| 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) { |
no outgoing calls
no test coverage detected