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

Function hasType

docs/app/js/sanddance-app.js:126942–126945  ·  view source on GitHub ↗
(key, type)

Source from the content-addressed store, hash-verified

126940 return (0, _vegaUtil.hasOwnProperty)(scales, type);
126941}
126942function hasType(key, type) {
126943 const s = scales[key];
126944 return s && s.metadata[type];
126945}
126946function isContinuous(key) {
126947 return hasType(key, Continuous);
126948}

Callers 7

isContinuousFunction · 0.70
isDiscreteFunction · 0.70
isDiscretizingFunction · 0.70
isLogarithmicFunction · 0.70
isTemporalFunction · 0.70
isInterpolatingFunction · 0.70
isQuantileFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected