boolean
Convert the argument values to Boolean
.
Conversion
Conversion is case-insensitive.
true
: "true", "t", "1", "yes", "y", "on"false
: "false", "f", "0", "no", "n", "off"
All other values are an error.
Convert the option values to Boolean
In most cases, you should use flag instead of this function, but this allows you to have tri-state delegates of type Boolean?
.
Conversion
Conversion is case-insensitive.
true
: "true", "t", "1", "yes", "y", "on"false
: "false", "f", "0", "no", "n", "off"
All other values are an error.