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

Function pushInspectToggle

packages/debugger/src/inspector/index.ts:123–129  ·  view source on GitHub ↗
(id: ValueItemID, selected: boolean)

Source from the content-addressed store, hash-verified

121 flush()
122 },
123 pushInspectToggle(id: ValueItemID, selected: boolean) {
124 const current = valueUpdates.get(id)
125 if (current === selected || current === null) return
126 else if (current === !selected) valueUpdates.delete(id)
127 else valueUpdates.set(id, selected)
128 flush()
129 },
130 triggerPropsCheck() {
131 checkProps = true
132 flushPropsCheck()

Callers 1

toggleValueNodeFunction · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…