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

Function isBlockProtected

apps/sim/stores/workflows/workflow/utils.ts:198–200  ·  view source on GitHub ↗
(blockId: string, blocks: Record<string, BlockState>)

Source from the content-addressed store, hash-verified

196 * @returns True if the block is protected
197 */
198export function isBlockProtected(blockId: string, blocks: Record<string, BlockState>): boolean {
199 return isWorkflowBlockProtected(blockId, blocks)
200}
201
202/**
203 * Builds a complete collection of loops from the UI blocks

Callers 7

store.tsFile · 0.90
utils.test.tsFile · 0.90
workflow.tsxFile · 0.90
isEdgeProtectedFunction · 0.90
filterProtectedBlocksFunction · 0.90
useCollaborativeWorkflowFunction · 0.90
EditorFunction · 0.50

Calls 1

isWorkflowBlockProtectedFunction · 0.90

Tested by

no test coverage detected