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

Function By

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

Source from the content-addressed store, hash-verified

13731 return null != t.lineHeight ? t.lineHeight : $y(t) + 2;
13732 }
13733 function By(t) {
13734 return (
13735 (e =
13736 t.lineBreak && t.text && !k(t.text)
13737 ? t.text.split(t.lineBreak)
13738 : t.text),
13739 k(e) ? (e.length > 1 ? e : e[0]) : e
13740 );
13741 var e;
13742 }
13743 function zy(t) {
13744 const e = By(t);
13745 return (k(e) ? e.length - 1 : 0) * Ty(t);

Callers 5

zyFunction · 0.85
jyFunction · 0.85
vega.min.jsFile · 0.85
textFunction · 0.85
oMethod · 0.85

Calls 1

kFunction · 0.70

Tested by

no test coverage detected