.validate_logical_scalar: Ensure the argument is a single logical value
Description
Ensure the argument is a single logical value
Usage
.validate_logical_scalar(arg_value, arg_name)
Arguments
- arg_value
The value of the argument.
- arg_name
The name of the argument for error messages.