assertion
An assertion is a block which can decide whether or not an automation should continue based on the result of a predicate
| Name | assertion |
|---|---|
| Type | Function |
| Path | packages/blocks/src/building-blocks/assertion.ts |
Signature
assertion: <I = void, O = void>(config: IAssertionConfig<I, O>) => Block<I, O>
Parameters
| Name | Type | Description |
|---|---|---|
| config | IAssertionConfig<I, O> |
Return Value
Block<I, O>