$ifAwaited
$ifAwaited
will check a condition and executed an awaited command depending on the condition being true or false.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
condition | string | Condition to check | true |
true | string | What to do when the condition is true. | true |
false? | string | What to do when the condition is false. | false |
Valid Mathematical Operators
Operator | Mathematical Expression |
---|---|
== | equal to |
!= | not equal to |
<= | less than or equal to |
>= | greater than or equal to |
> | greater than |
< | less than |
|| | logical OR |
&& | logical conjunction |
Example(s)
This will execute the awaitedCommand
awaited command as the statement is true: