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