Command Reference
:
Function Reference
:
Function Reference: H
@hasoption
Support Functions
Indicator for whether option is provided in the exec or run commands.
Syntax:
@hasoption
(
str
)
str
: string
Return: boolean (0 or 1)
returns 1 or 0 depending on whether the specified option is or is not in the program options provided in the
exec
or
run
command.
Cross-references
See
exec
and
run
.