MCPcopy
hub / github.com/vercel/next.js / IA

Function IA

packages/next/src/compiled/@vercel/og/index.node.js:13378–13385  ·  view source on GitHub ↗
(f, s, g2)

Source from the content-addressed store, hash-verified

13376 function $() {
13377 }
13378 function IA(f, s, g2) {
13379 if (f[s].S === void 0) {
13380 var c2 = f[s];
13381 f[s] = function() {
13382 return f[s].S.hasOwnProperty(arguments.length) || W("Function '" + g2 + "' called with an invalid number of arguments (" + arguments.length + ") - expects one of (" + f[s].S + ")!"), f[s].S[arguments.length].apply(this, arguments);
13383 }, f[s].S = [], f[s].S[c2.Z] = c2;
13384 }
13385 }
13386 function lA(f, s) {
13387 e.hasOwnProperty(f) ? (W("Cannot register public name '" + f + "' twice"), IA(e, f, f), e.hasOwnProperty(void 0) && W("Cannot register multiple overloads of a function with the same number of arguments (undefined)!"), e[f].S[void 0] = s) : e[f] = s;
13388 }

Callers 2

lAFunction · 0.85
FIFunction · 0.85

Calls 2

WFunction · 0.70
applyMethod · 0.45

Tested by

no test coverage detected