Declaration
protected virtual bool? getBool(
BoolConversionOptions options,
bool safe
)Summary
Converts the current value to
bool.
Parameters
| BoolConversionOptions | options |
Specifies options for the conversion. |
| bool | safe |
Controls the behavior in case of conversion failure. If true, returns null; if false, throws. |