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

Function isContainerBlock

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

Source from the content-addressed store, hash-verified

14}
15
16function isContainerBlock(block: BlockState | undefined): boolean {
17 return block?.type === 'loop' || block?.type === 'parallel'
18}
19
20function getParentId(block: BlockState | undefined): string | null {
21 return block?.data?.parentId ?? null

Callers 1

getScopeDropReasonFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected