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

Function Ii

resources/vega-lite.min.js:1297–1307  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

1295 return `timeUnitSpecifier(${Q(Ri(e))}, ${Q(Mi)})`;
1296 }
1297 function Ii(e) {
1298 if (!e) return;
1299 let n;
1300 return (
1301 t.isString(e)
1302 ? (n = ji(e) ? { unit: e.substring(6), binned: !0 } : { unit: e })
1303 : t.isObject(e) && (n = { ...e, ...(e.unit ? { unit: e.unit } : {}) }),
1304 Ei(n.unit) && ((n.utc = !0), (n.unit = n.unit.substring(3))),
1305 n
1306 );
1307 }
1308 function Bi(e) {
1309 let t =
1310 arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : (e) => e;

Callers 15

BiFunction · 0.70
nrFunction · 0.70
rrFunction · 0.70
OoFunction · 0.70
_oFunction · 0.70
PoFunction · 0.70
maFunction · 0.70
gaFunction · 0.70
FaFunction · 0.70
_aFunction · 0.70
makeFromEncodingMethod · 0.70
makeFromTransformMethod · 0.70

Calls 2

jiFunction · 0.70
EiFunction · 0.70

Tested by

no test coverage detected