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

Function getValue

packages/debugger/src/inspector/index.ts:39–42  ·  view source on GitHub ↗
(id: ValueItemID)

Source from the content-addressed store, hash-verified

37 For the extension for inspecting values through `inspect()`
38 */
39 function getValue(id: ValueItemID): unknown {
40 let node = valueMap.get(id)
41 return node ? inspector.value_data_get_value(node.data) : undefined
42 }
43 window[GLOBAL_GET_VALUE] = getValue
44
45 // Batch and dedupe inspector updates

Callers 1

consoleLogValueFunction · 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…