MCPcopy Create free account
hub / github.com/microsoft/SandDance / isStringOperation

Function isStringOperation

docs/tests/v2/es6/js/sanddance.js:153038–153048  ·  view source on GitHub ↗
(ex)

Source from the content-addressed store, hash-verified

153036}
153037
153038function isStringOperation(ex) {
153039 switch (ex.operator) {
153040 case 'contains':
153041 case '!contains':
153042 case 'starts':
153043 case '!starts':
153044 return true;
153045 }
153046
153047 return false;
153048}
153049
153050function isnullorEmpty(value) {
153051 if (value == null) return true; //double equal sign to also catch undefined

Callers 1

constructorMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected