Class representing Boolean values.
operator ==(rhs)
: True if both sides are equal to each other.rhs
: The right hand side of the expression.operator !=(rhs)
: True if both sides are not equal to each other.rhs
: The right hand side of the expression.operator and(rhs)
: True if both sides are truerhs
: The right hand side of the expression.operator or(rhs)
: True if either or both sides are truerhs
: The right hand side of the expression.operator not(rhs)
: Returns the opposite value of the current objectrhs
: The right hand side of the expression (ignored).operator xor(rhs)
: True if either side is true (but false if both).rhs
: The right hand side of the expression.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.