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

Function id

resources/vega.min.js:10365–10374  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

10363 };
10364 }
10365 function id(t) {
10366 var e = 1,
10367 n = t(nd(e), rd(e));
10368 return (
10369 (n.constant = function (n) {
10370 return arguments.length ? t(nd((e = +n)), rd(e)) : e;
10371 }),
10372 Gh(n)
10373 );
10374 }
10375 function od(t) {
10376 return function (e) {
10377 return e < 0 ? -Math.pow(-e, t) : Math.pow(e, t);

Callers 1

vega.min.jsFile · 0.85

Calls 4

GhFunction · 0.85
tFunction · 0.70
ndFunction · 0.70
rdFunction · 0.70

Tested by

no test coverage detected