CADETProcess.dataStructure.parameter.Bool#
- class CADETProcess.dataStructure.parameter.Bool(*args, ty=None, **kwargs)[source]#
Parameter descriptor constrained to boolean values.
Notes
This class also supports casting integers 0 and 1 to their boolean equivalents.
- Attributes:
default
Any: 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.
ty
alias of
bool