MCPcopy
hub / github.com/simstudioai/sim / getParentId

Function getParentId

apps/sim/stores/workflows/workflow/edge-validation.ts:20–22  ·  view source on GitHub ↗
(block: BlockState | undefined)

Source from the content-addressed store, hash-verified

18}
19
20function getParentId(block: BlockState | undefined): string | null {
21 return block?.data?.parentId ?? null
22}
23
24function getScopeDropReason(edge: Edge, blocks: Record<string, BlockState>): string | null {
25 const sourceBlock = blocks[edge.source]

Callers 1

getScopeDropReasonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected