bool

class guppylang.std.builtins.bool[source]

Booleans representing truth values.

The bool type has exactly two constant instances: True and False.

The bool constructor takes a single argument and converts it to True or False using the standard truth testing procedure.

__and__(other: bool) bool[source]
__bool__() bool[source]
__eq__(other: bool) bool[source]

Return self==value.

__hash__ = None
__int__() int[source]
__nat__() nat[source]
__ne__(other: bool) bool[source]

Return self!=value.

static __new__(x)[source]
__or__(other: bool) bool[source]

Return self|value.

__xor__(other: bool) bool[source]