MCPcopy Create free account
hub / github.com/thetarnav/solid-devtools / set

Function set

packages/shared/src/utils.ts:88–91  ·  view source on GitHub ↗
(newValue)

Source from the content-addressed store, hash-verified

86 let value: TObject[TKey] = obj[key]
87 Object.defineProperty(obj, key, {
88 set(newValue) {
89 value = newValue
90 cb(newValue)
91 },
92 get() {
93 return value
94 },

Callers 1

TestComponentFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestComponentFunction · 0.68