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

Function findNode

packages/frontend/src/structure.tsx:115–119  ·  view source on GitHub ↗
(id: debug.NodeID)

Source from the content-addressed store, hash-verified

113 }
114
115 function findNode(id: debug.NodeID): Node | undefined {
116 for (const node of state().nodeList) {
117 if (node.id === id) return node
118 }
119 }
120
121 const [searchResult, setSearchResult] = s.createSignal<debug.NodeID[]>()
122 const isSearched = s.createSelector(searchResult, (node: debug.NodeID, o) => !!o && o.includes(node))

Callers 1

createStructureFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…