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

Function modify

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

Source from the content-addressed store, hash-verified

3365 return this;
3366 },
3367 modify(t, e, r) {
3368 const o = { field: e, value: rt(r) };
3369 return (
3370 J(t) ? ((o.filter = t), i.push(o)) : ((o.tuple = t), n.push(o)),
3371 this
3372 );
3373 },
3374 encode(t, e) {
3375 return (
3376 J(t)

Callers

nothing calls this directly

Calls 2

rtFunction · 0.70
JFunction · 0.70

Tested by

no test coverage detected