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

Function domain

docs/app/js/sanddance-app.js:143022–143025  ·  view source on GitHub ↗
(name, group)

Source from the content-addressed store, hash-verified

143020 return s ? s.copy() : undefined;
143021}
143022function domain(name, group) {
143023 const s = getScale(name, (group || this).context);
143024 return s ? s.domain() : [];
143025}
143026function invert(name, range1, group) {
143027 const s = getScale(name, (group || this).context);
143028 return !s ? undefined : (0, _vegaUtil.isArray)(range1) ? (s.invertRange || s.invert)(range1) : (s.invert || s.invertExtent)(range1);

Callers 5

rescaleFunction · 0.70
bandFunction · 0.70
linearishFunction · 0.70
loggishFunction · 0.70
calendarFunction · 0.70

Calls 1

getScaleFunction · 0.70

Tested by

no test coverage detected