baybe.utils.booleanΒΆ

Functions implementing Boolean checks.

Functions

check_if_in(element, allowed)

Check if an element is in a given list of elements.

is_abstract(cls)

Determine if a given class is abstract.

strtobool(val)

Convert a string representation of truth to True or False.

Classes

AutoBool

Enum for representing Booleans whose values can be determined automatically.

UncertainBool

Enum for representing uncertain Boolean values.