MCPcopy Create free account
hub / github.com/aiscript-dev/aiscript / set

Method set

src/interpreter/reference.ts:124–129  ·  view source on GitHub ↗
(value: Value)

Source from the content-addressed store, hash-verified

122 }
123
124 set(value: Value): void {
125 assertObject(value);
126 for (const [key, item] of this.entries.entries()) {
127 item.set(value.value.get(key) ?? NULL);
128 }
129 }
130}

Callers

nothing calls this directly

Calls 3

assertObjectFunction · 0.85
setMethod · 0.65
getMethod · 0.65

Tested by

no test coverage detected