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

Method set

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

Source from the content-addressed store, hash-verified

103 }
104
105 set(value: Value): void {
106 assertArray(value);
107 for (const [index, item] of this.items.entries()) {
108 item.set(value.value[index] ?? NULL);
109 }
110 }
111}
112
113class ObjReference implements Reference {

Callers

nothing calls this directly

Calls 2

assertArrayFunction · 0.85
setMethod · 0.65

Tested by

no test coverage detected