if
If the condition is true, runs the commands in the block. Otherwise, runs the commands in the else block.
Example Usage
Last updated
If the condition is true, runs the commands in the block. Otherwise, runs the commands in the else block.
Example Usage
Last updated
Argument | Type | Description |
---|---|---|
condition
string
The condition to evaluate.
then
list of commands
The commands to run if the condition is true.
else
list of commands
The commands to run if the condition is false.