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

Function Rp

resources/vega.min.js:11513–11527  ·  view source on GitHub ↗
(t, e)

Source from the content-addressed store, hash-verified

11511 const Np = { [qd]: "quantiles", [Pd]: "thresholds", [jd]: "domain" },
11512 Op = { [qd]: "quantiles", [Pd]: "domain" };
11513 function Rp(t, e) {
11514 return t.bins
11515 ? (function (t) {
11516 const e = t.slice(0, -1);
11517 return ((e.max = F(t)), e);
11518 })(t.bins)
11519 : t.type === Td
11520 ? zp(t, e, !0)
11521 : Np[t.type]
11522 ? (function (t) {
11523 const e = [-1 / 0].concat(t);
11524 return ((e.max = 1 / 0), e);
11525 })(t[Np[t.type]]())
11526 : Tp(t, e);
11527 }
11528 const Lp = (t) => Np[t.type] || t.bins;
11529 function Up(t, e, n, r, i, o, a) {
11530 const s =

Callers 2

YpFunction · 0.70
transformFunction · 0.70

Calls 3

FFunction · 0.85
TpFunction · 0.85
zpFunction · 0.70

Tested by

no test coverage detected