shell:if
Name
shell:if, if — executes an if/then/else block
Synopsis
shell:if
[
--help
] {
condition
} {
ifTrue
} [
ifFalse
]
Arguments
Table 2.9, “shell:if Arguments” describes the command's arguments.
Argument | Interpretation |
---|---|
--help | Displays the online help for this command |
condition | Boolean condition. |
ifTrue | Function to evaluate, if condition is true. |
ifFalse | Function to evaluate, if condition is false. |