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

Function lN

resources/vega.min.js:30202–30212  ·  view source on GitHub ↗
(t, e, n, r)

Source from the content-addressed store, hash-verified

30200 }
30201 const uN = (t) => (A(t) && !k(t) ? ot({}, t) : { value: t });
30202 function lN(t, e, n, r) {
30203 if (null != n) {
30204 return (
30205 (A(n) && !k(n)) || (k(n) && n.length && A(n[0]))
30206 ? (t.update[e] = n)
30207 : (t[r || "enter"][e] = { value: n }),
30208 1
30209 );
30210 }
30211 return 0;
30212 }
30213 function cN(t, e, n) {
30214 for (const n in e) lN(t, n, e[n]);
30215 for (const e in n) lN(t, e, n[e], "update");

Callers 1

cNFunction · 0.85

Calls 2

AFunction · 0.70
kFunction · 0.70

Tested by

no test coverage detected