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

Function isStringOperation

packages/search-expression/src/exec.ts:33–42  ·  view source on GitHub ↗
(ex: SearchExpression)

Source from the content-addressed store, hash-verified

31}
32
33function isStringOperation(ex: SearchExpression) {
34 switch (ex.operator) {
35 case 'contains':
36 case '!contains':
37 case 'starts':
38 case '!starts':
39 return true;
40 }
41 return false;
42}
43
44function isnullorEmpty(value: any) {
45 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