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

Function Yh

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

Source from the content-addressed store, hash-verified

10166 return Wh()(Uh, Uh);
10167 }
10168 function Yh(t, e, n, r) {
10169 var i,
10170 o = xe(t, e, n);
10171 switch ((r = Oe(null == r ? ",f" : r)).type) {
10172 case "s":
10173 var a = Math.max(Math.abs(t), Math.abs(e));
10174 return (
10175 null != r.precision || isNaN((i = Ve(o, a))) || (r.precision = i),
10176 Ie(r, a)
10177 );
10178 case "":
10179 case "e":
10180 case "g":
10181 case "p":
10182 case "r":
10183 null != r.precision ||
10184 isNaN((i = Xe(o, Math.max(Math.abs(t), Math.abs(e))))) ||
10185 (r.precision = i - ("e" === r.type));
10186 break;
10187 case "f":
10188 case "%":
10189 null != r.precision ||
10190 isNaN((i = Ge(o))) ||
10191 (r.precision = i - 2 * ("%" === r.type));
10192 }
10193 return je(r);
10194 }
10195 function Gh(t) {
10196 var e = t.domain;
10197 return (

Callers 2

GhFunction · 0.85
vega.min.jsFile · 0.85

Calls 7

VeFunction · 0.85
IeFunction · 0.85
XeFunction · 0.85
GeFunction · 0.85
jeFunction · 0.85
xeFunction · 0.70
OeFunction · 0.70

Tested by

no test coverage detected