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

Function Ts

packages/next/src/compiled/@vercel/og/index.edge.js:16631–16637  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

16629 return t === -1 || t === e.length - 1 ? [e] : [e.slice(0, t), e.slice(t + 1)];
16630 }
16631 function Ts(e) {
16632 if (typeof e == "string" && e.includes("<alpha-value>")) {
16633 let t = e;
16634 return ({ opacityValue: n = 1 }) => t.replace("<alpha-value>", n);
16635 }
16636 return e;
16637 }
16638 function ff(e, t = {}, { tailwindConfig: n = {} } = {}) {
16639 var r;
16640 if (((r = t.values) === null || r === void 0 ? void 0 : r[e]) !== void 0) {

Callers 7

ffFunction · 0.70
arrayLikeKeysFunction · 0.50
baseCloneFunction · 0.50
baseIsEqualDeepFunction · 0.50
baseMergeDeepFunction · 0.50
isEmptyFunction · 0.50
transformFunction · 0.50

Calls 2

includesMethod · 0.80
replaceMethod · 0.65

Tested by

no test coverage detected