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

Function valueToBoolean

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

Source from the content-addressed store, hash-verified

6199parcelHelpers.export(exports, "Exec", ()=>Exec);
6200var _group = require("./group");
6201function valueToBoolean(value) {
6202 if (typeof value === "string") switch(value.toLowerCase()){
6203 case "true":
6204 return true;
6205 case "false":
6206 return false;
6207 }
6208 return !!value;
6209}
6210function valueToString(value) {
6211 if (value == null) return "";
6212 switch(typeof value){

Callers 2

constructorMethod · 0.70
runExpressionOnColumnMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected