If

Analyzes an expression and executes the defined task. Check out the HOA Ruler Documentation.

Options

if (string)

The expression to assert.

then (string)

The identifier of the task, if the the expression asserts true.

else (string)

The identifier of the task, if the the expression asserts false.

Context

storage

Access the current default storage.

Example

default: !task
  - if: 1 = 1
    then: finish

finish: !task []

Last updated

Was this helpful?