avl._core.bool module

class avl._core.bool.Bool(*args, auto_random: bool = True, fmt: ~collections.abc.Callable[[...], str] = <class 'str'>)[source]
__init__(*args, auto_random: bool = True, fmt: ~collections.abc.Callable[[...], str] = <class 'str'>) None[source]

Initialize an instance of the Bool class.

Parameters:
  • value (bool) – The initial value of the instance.

  • auto_random (bool, optional) – Flag indicating whether the instance should be automatically randomized, defaults to True.