(domain, interpolator)
| 14779 | } |
| 14780 | |
| 14781 | function initInterpolator(domain, interpolator) { |
| 14782 | switch (arguments.length) { |
| 14783 | case 0: break; |
| 14784 | case 1: { |
| 14785 | if (typeof domain === "function") this.interpolator(domain); |
| 14786 | else this.range(domain); |
| 14787 | break; |
| 14788 | } |
| 14789 | default: { |
| 14790 | this.domain(domain); |
| 14791 | if (typeof interpolator === "function") this.interpolator(interpolator); |
| 14792 | else this.range(interpolator); |
| 14793 | break; |
| 14794 | } |
| 14795 | } |
| 14796 | return this; |
| 14797 | } |
| 14798 | |
| 14799 | const implicit = Symbol("implicit"); |
| 14800 |
nothing calls this directly
no outgoing calls
no test coverage detected