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

Function isSolidOwner

packages/debugger/src/main/utils.ts:33–34  ·  view source on GitHub ↗
(o: Solid.SourceMapValue | Solid.Owner | Solid.Store | Solid.Signal)

Source from the content-addressed store, hash-verified

31 typeof value === 'object' && value !== null && setup.solid.$PROXY in value
32
33export const isSolidOwner = (o: Solid.SourceMapValue | Solid.Owner | Solid.Store | Solid.Signal): o is Solid.Owner =>
34 'owned' in o
35
36export const isSolidComputation = (o: Solid.Owner): o is Solid.Computation =>
37 !!(o as any).fn

Callers 6

observeNodeUpdateFunction · 0.90
unobserveNodeUpdateFunction · 0.90
addNodeToGraphFunction · 0.90
visitSourcesFunction · 0.90
lookupDepthFunction · 0.90
getNodeTypeFunction · 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…