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

Function getText

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

Source from the content-addressed store, hash-verified

12949 return [];
12950}
12951function getText(ex) {
12952 if (ex.operator === "isnullorEmpty") return "";
12953 return typeof ex.value === "string" ? ex.value : ex.value == null ? "" : ex.value.toString();
12954}
12955function SearchTerm(props) {
12956 const ex = props.searchExpression;
12957 const possibleValues = getValues(ex, props.column, props.data, props.autoCompleteDistinctValues);

Callers 2

SearchTermFunction · 0.70
sanddance-app.jsFile · 0.70

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected