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

Function initRange

docs/app/js/sanddance-app.js:128759–128771  ·  view source on GitHub ↗
(domain, range)

Source from the content-addressed store, hash-verified

128757parcelHelpers.export(exports, "initRange", ()=>initRange);
128758parcelHelpers.export(exports, "initInterpolator", ()=>initInterpolator);
128759function initRange(domain, range) {
128760 switch(arguments.length){
128761 case 0:
128762 break;
128763 case 1:
128764 this.range(domain);
128765 break;
128766 default:
128767 this.range(range).domain(domain);
128768 break;
128769 }
128770 return this;
128771}
128772function initInterpolator(domain, interpolator) {
128773 switch(arguments.length){
128774 case 0:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected