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

Function explicitDomain

docs/app/js/sanddance-app.js:147332–147334  ·  view source on GitHub ↗
(domain, spec, scope)

Source from the content-addressed store, hash-verified

147330 return domain.signal ? scope.signalRef(domain.signal) : ((0, _vegaUtil.isArray)(domain) ? explicitDomain : domain.fields ? multipleDomain : singularDomain)(domain, spec, scope);
147331}
147332function explicitDomain(domain, spec, scope) {
147333 return domain.map((v)=>parseLiteral(v, scope));
147334}
147335function singularDomain(domain, spec, scope) {
147336 const data = scope.getData(domain.data);
147337 if (!data) dataLookupError(domain.data);

Callers

nothing calls this directly

Calls 1

parseLiteralFunction · 0.70

Tested by

no test coverage detected