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

Function isContinuousColor

docs/app/js/sanddance-app.js:129987–129990  ·  view source on GitHub ↗
(_)

Source from the content-addressed store, hash-verified

129985 return (d + t || (0, _vegaScale.Linear)).toLowerCase();
129986}
129987function isContinuousColor(_) {
129988 const t = _.type;
129989 return (0, _vegaScale.isContinuous)(t) && t !== (0, _vegaScale.Time) && t !== (0, _vegaScale.UTC) && (_.scheme || _.range && _.range.length && _.range.every((0, _vegaUtil.isString)));
129990}
129991function configureDomain(scale, _, df) {
129992 // check raw domain, if provided use that and exit early
129993 const raw = rawDomain(scale, _.domainRaw, df);

Callers 1

scaleKeyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected