MCPcopy Create free account
hub / github.com/alignoth/alignoth / makeFromTransform

Method makeFromTransform

resources/vega-lite.min.js:5663–5667  ·  view source on GitHub ↗
(e, t)

Source from the content-addressed store, hash-verified

5661 return S(n) ? null : new Dc(e, n);
5662 }
5663 static makeFromTransform(e, t) {
5664 const { timeUnit: n, ...i } = { ...t },
5665 r = { ...i, timeUnit: Ii(n) };
5666 return new Dc(e, { [d(r)]: r });
5667 }
5668 merge(e) {
5669 this.timeUnits = { ...this.timeUnits };
5670 for (const t in e.timeUnits)

Callers 1

hpFunction · 0.45

Calls 2

IiFunction · 0.70
dFunction · 0.70

Tested by

no test coverage detected