MCPcopy Index your code
hub / github.com/microsoft/SandDance / isStringOperation

Function isStringOperation

docs/app/js/sanddance-app.js:6221–6230  ·  view source on GitHub ↗
(ex)

Source from the content-addressed store, hash-verified

6219 return "";
6220}
6221function isStringOperation(ex) {
6222 switch(ex.operator){
6223 case "contains":
6224 case "!contains":
6225 case "starts":
6226 case "!starts":
6227 return true;
6228 }
6229 return false;
6230}
6231function isnullorEmpty(value) {
6232 if (value == null) return true; //double equal sign to also catch undefined
6233 if (typeof value === "string" && value.length === 0) return true;

Callers 1

constructorMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected