UncertainBool¶
- class baybe.utils.boolean.UncertainBool[source]¶
Bases:
EnumEnum for representing uncertain Boolean values.
Public methods
from_erroneous_callable(callable_, /)Create an uncertain Boolean from a potentially erroneous Boolean call.
Public attributes and properties
Represents the Boolean value True.
Represents the Boolean value False.
Indicates that the value of the Boolean cannot be determined.
- classmethod from_erroneous_callable(callable_: Callable, /)[source]¶
Create an uncertain Boolean from a potentially erroneous Boolean call.
- Return type:
- FALSE = 'FALSE'¶
Represents the Boolean value False.
- TRUE = 'TRUE'¶
Represents the Boolean value True.
- UNKNOWN = 'UNKNOWN'¶
Indicates that the value of the Boolean cannot be determined.