CADETProcess.dataStructure.parameter.Bool#
- class CADETProcess.dataStructure.parameter.Bool(*args: Any, ty: type | None = None, **kwargs: Any)[source]#
Parameter descriptor constrained to boolean values.
- Attributes:
defaultAny: Get or set the default value of the parameter.
Methods
cast_value(value)Convert integers 0 and 1 to their respective boolean values.
get_default_value(instance)Return default values if necessary.
tyNotes
This class also supports casting integers 0 and 1 to their boolean equivalents.