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

Function Pm

resources/vega-lite.min.js:11356–11365  ·  view source on GitHub ↗
(e, t, n)

Source from the content-addressed store, hash-verified

11354 }
11355 const _m = 0.95;
11356 function Pm(e, t, n) {
11357 const i = Rs(e.width) ? e.width.step : Ws(n, "width"),
11358 r = Rs(e.height) ? e.height.step : Ws(n, "height");
11359 return t.x || t.y
11360 ? new sm(
11361 () =>
11362 `min(${[t.x ? t.x.signal : i, t.y ? t.y.signal : r].join(", ")})`,
11363 )
11364 : Math.min(i, r);
11365 }
11366 function Nm(e, t) {
11367 qm(e)
11368 ? (function (e, t) {

Callers 1

SmFunction · 0.70

Calls 2

RsFunction · 0.70
WsFunction · 0.70

Tested by

no test coverage detected