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