validate_option
Description:
Checks whether name
is a valid bond option and value
is a valid value for the name
.
If value
is null
, the function only validates the option name.
Parameters:
name |
the name of the option to validate |
value |
the value of the option to validate |
Returns:
|