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

Function isSolidRoot

packages/debugger/src/main/utils.ts:39–40  ·  view source on GitHub ↗
(o: Solid.Owner)

Source from the content-addressed store, hash-verified

37 !!(o as any).fn
38
39export const isSolidRoot = (o: Solid.Owner): o is Solid.Root =>
40 !('fn' in o)
41
42export const isSolidMemo = (o: Solid.Owner): o is Solid.Memo =>
43 'fn' in o && 'comparator' in o

Callers 5

handleCreatedOwnerFunction · 0.90
attachDebuggerFunction · 0.90
getTopRootFunction · 0.90
findClosestAliveParentFunction · 0.90
onOwnerDisposeFunction · 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…