MCPcopy Create free account
hub / github.com/corbanbrook/dsp.js / getter

Function getter

examples/js/processing.js:8815–8818  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8813 }
8814 function wrapProperty(newContext, name) {
8815 function getter() {
8816 resetContext();
8817 return curContext[name];
8818 }
8819 function setter(value) {
8820 resetContext();
8821 curContext[name] = value;

Callers

nothing calls this directly

Calls 1

resetContextFunction · 0.85

Tested by

no test coverage detected