MCPcopy Index your code
hub / github.com/simstudioai/sim / isTriggerModeSubBlock

Function isTriggerModeSubBlock

apps/sim/lib/workflows/subblocks/visibility.ts:354–356  ·  view source on GitHub ↗
(subBlock: Pick<SubBlockConfig, 'mode'>)

Source from the content-addressed store, hash-verified

352}
353
354export function isTriggerModeSubBlock(subBlock: Pick<SubBlockConfig, 'mode'>): boolean {
355 return subBlock.mode === 'trigger' || subBlock.mode === 'trigger-advanced'
356}
357
358export function isTriggerConfigSubBlock(subBlock: Pick<SubBlockConfig, 'type'>): boolean {
359 return String(subBlock.type) === 'trigger-config'

Calls

no outgoing calls

Tested by

no test coverage detected