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

Function yl

packages/next/src/compiled/@vercel/og/index.node.js:18848–18850  ·  view source on GitHub ↗
(A, e, t)

Source from the content-addressed store, hash-verified

18846 return { words: l2, requiredBreaks: I, allowSoftWrap: u2, allowBreakWord: E, processedContent: o, shouldCollapseTabsAndSpaces: a, lineLimit: C, blockEllipsis: d2 };
18847}
18848function yl(A, e, t) {
18849 return e === "uppercase" ? A = A.toLocaleUpperCase(t) : e === "lowercase" ? A = A.toLocaleLowerCase(t) : e === "capitalize" && (A = ge(A, "word", t).map((r) => ge(r, "grapheme", t).map((n, i) => i === 0 ? n.toLocaleUpperCase(t) : n).join("")).join("")), A;
18850}
18851function wl(A, e) {
18852 let { textOverflow: t, lineClamp: r, WebkitLineClamp: n, WebkitBoxOrient: i, overflow: o, display: a } = A;
18853 if (a === "block" && r) {

Callers 1

saFunction · 0.70

Calls 3

geFunction · 0.70
joinMethod · 0.45
mapMethod · 0.45

Tested by

no test coverage detected