Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: bool? getBool(BoolConversionOptions, bool)

Declaration

protected virtual bool? getBool(
    BoolConversionOptions options,
    bool safe
)

Summary

Converts the current value to bool.

Parameters

BoolConversionOptionsoptions Specifies options for the conversion.
boolsafe Controls the behavior in case of conversion failure. If true, returns null; if false, throws.