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

Function quantileMultipleDomain

docs/app/js/sanddance-app.js:147419–147429  ·  view source on GitHub ↗
(domain, scope, fields)

Source from the content-addressed store, hash-verified

147417 return sort;
147418}
147419function quantileMultipleDomain(domain, scope, fields) {
147420 // get value arrays for each domain field
147421 const values = fields.map((f)=>{
147422 const data = scope.getData(f.data);
147423 if (!data) dataLookupError(f.data);
147424 return data.domainRef(scope, f.field);
147425 }); // combine value arrays
147426 return ref(scope.add(MultiValues({
147427 values: values
147428 })));
147429}
147430function numericMultipleDomain(domain, scope, fields) {
147431 // get extents for each domain field
147432 const extents = fields.map((f)=>{

Callers

nothing calls this directly

Calls 4

dataLookupErrorFunction · 0.70
refFunction · 0.70
MultiValuesFunction · 0.70
addMethod · 0.45

Tested by

no test coverage detected