MCPcopy Create free account
hub / github.com/ShipSecAI/studio / isEntryPointComponentRef

Function isEntryPointComponentRef

frontend/src/components/workflow/Canvas.tsx:68–69  ·  view source on GitHub ↗
(ref?: string | null)

Source from the content-addressed store, hash-verified

66const ENTRY_COMPONENT_SLUG = 'entry-point';
67
68const isEntryPointComponentRef = (ref?: string | null) =>
69 ref === ENTRY_COMPONENT_ID || ref === ENTRY_COMPONENT_SLUG;
70
71const isEntryPointNode = (node?: Node<NodeData> | null) => {
72 if (!node) return false;

Callers 2

isEntryPointNodeFunction · 0.85
CanvasFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected