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

Function hasBandwidth

docs/tests/v2/es6/js/sanddance.js:134127–134131  ·  view source on GitHub ↗
(name, scope)

Source from the content-addressed store, hash-verified

134125}
134126
134127function hasBandwidth(name, scope) {
134128 if (!(0, _vegaUtil.isString)(name)) return -1;
134129 var type = scope.scaleType(name);
134130 return type === 'band' || type === 'point' ? 1 : 0;
134131}
134132
134133function getScale(name, scope, params, fields) {
134134 var scaleName;

Callers 1

_defaultFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected