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

Function isnullorEmpty

packages/search-expression/src/exec.ts:44–48  ·  view source on GitHub ↗
(value: any)

Source from the content-addressed store, hash-verified

42}
43
44function isnullorEmpty(value: any) {
45 if (value == null) return true; //double equal sign to also catch undefined
46 if (typeof value === 'string' && value.length === 0) return true;
47 return false;
48}
49
50interface SearchExpressionLowercase extends SearchExpression {
51 column: Column;

Callers 1

runExpressionOnColumnMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected