if-then-else-condition-config

Configuration object for a condition block

Name if-then-else-condition-config
Type Interface
Path packages/blocks/src/building-blocks/if-then-else-condition.ts

Properties

Name Type Description
assertion Block<I, PO> The result of this assertion decides which branch to take
else Block<PO, EO> Execute this block if the predicate fails
id string Unique identifier for this block. Will use a hash of the name if not provided
name string Block name
then Block<PO, TO> Execute this block if the predicate passes