Class representing Boolean values.
operator ==(rhs, )
: True if both sides are equal to each other.operator !=(rhs, )
: True if both sides are not equal to each other.operator and(rhs, )
: True if both sides are trueoperator or(rhs, )
: True if either or both sides are trueoperator not(rhs, )
: Returns the opposite value of the current objectoperator xor(rhs, )
: True if either side is true (but false if both).__op_and__(rhs, )
: True if both sides are true__op_equals__(rhs, )
: True if both sides are equal to each other.__op_nequals__(rhs, )
: True if both sides are not equal to each other.__op_not__(rhs, )
: Returns the opposite value of the current object__op_or__(rhs, )
: True if either or both sides are true__op_xor__(rhs, )
: True if either side is true (but false if both).bool()
: Returns the given object.float()
: Returns the floating-point representation of the given object.int()
: Returns the integer representation of the given object.str()
: Returns the string representation of the given object.