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

Function allowNoneForSize

docs/app/js/sanddance-app.js:1127–1137  ·  view source on GitHub ↗
(specContext)

Source from the content-addressed store, hash-verified

1125parcelHelpers.defineInteropFlag(exports);
1126parcelHelpers.export(exports, "allowNoneForSize", ()=>allowNoneForSize);
1127function allowNoneForSize(specContext) {
1128 switch(specContext.insight.totalStyle){
1129 case "sum-strip":
1130 case "sum-strip-percent":
1131 case "sum-treemap":
1132 return false;
1133 default:
1134 //if totalStyle is blank, count is assumed
1135 return true;
1136 }
1137}
1138
1139},{"@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"fAuAF":[function(require,module,exports) {
1140var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected