MCPcopy
hub / github.com/processing/p5.js / setValue

Method setValue

src/core/States.js:10–15  ·  view source on GitHub ↗
(key, value)

Source from the content-addressed store, hash-verified

8 }
9
10 setValue(key, value) {
11 if (!(key in this.#modified)) {
12 this.#modified[key] = this[key];
13 }
14 this[key] = value;
15 }
16
17 takeDiff() {
18 const diff = this.#modified;

Callers 15

setupFunction · 0.45
States.jsFile · 0.45
p5.Vector.jsFile · 0.45
loadingDisplayingFunction · 0.45
_renderPassMethod · 0.45
curveDetailMethod · 0.45
normalMethod · 0.45
_drawGeometryScaledMethod · 0.45
_updateMethod · 0.45
fillMethod · 0.45
strokeMethod · 0.45
filterMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected