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

Function ye

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

Source from the content-addressed store, hash-verified

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

Callers 2

aeFunction · 0.70
IcFunction · 0.70

Calls 2

GFunction · 0.70
applyMethod · 0.45

Tested by

no test coverage detected