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

Function _p

resources/vega.min.js:11259–11269  ·  view source on GitHub ↗
(t, e, n)

Source from the content-addressed store, hash-verified

11257 return n;
11258 }
11259 function _p(t, e, n) {
11260 const r = n - e;
11261 let i, o, a;
11262 return r && Number.isFinite(r)
11263 ? ((i = (o = t.type).indexOf("-")),
11264 (o = i < 0 ? o : o.slice(i + 1)),
11265 (a = ap(o)().domain([e, n]).range([0, 1])),
11266 gp.forEach((e) => (t[e] ? a[e](t[e]()) : 0)),
11267 a)
11268 : rt(0.5);
11269 }
11270 function xp(t, e) {
11271 const n =
11272 Oh[

Callers 2

transformFunction · 0.85
vega.min.jsFile · 0.85

Calls 3

rangeMethod · 0.80
apFunction · 0.70
rtFunction · 0.70

Tested by

no test coverage detected