MCPcopy
hub / github.com/microsoft/SandDance / valueToString

Function valueToString

docs/app/js/sanddance-app.js:6210–6220  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

6208 return !!value;
6209}
6210function valueToString(value) {
6211 if (value == null) return "";
6212 switch(typeof value){
6213 case "string":
6214 return value;
6215 case "boolean":
6216 case "number":
6217 return value.toString();
6218 }
6219 return "";
6220}
6221function isStringOperation(ex) {
6222 switch(ex.operator){
6223 case "contains":

Callers 2

constructorMethod · 0.70
runExpressionOnColumnMethod · 0.70

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected