option_is_set
Checks whether an option has been explicitly
set by a script or from the command line or whether the option has a default
value or computed value (return value of a
func
).
Parameters
Parameter
| Description
|
---|---|
option_name
| String value of the
built-in or custom option.
|
Returns
Boolean. Returns
1
(true) if the option value has been explicitly set.
Returns
0
(false) if the option value is a default value, is
null, or has not been explicitly set. For a discussion of Boolean, see
vSphere SDK for Perl Programming Conventions.