A Python boolean object. That is, an instance of bool.
8.2. PyBool
def
def
Returns the Python boolean corresponding to the Lean boolean b.
def
Returns the boolean value of self as a Lean Bool.
8.2.1. Boolean Constants
Each boolean constant has its own singleton type which inherits the dot
notation of PyBool and is promotable to it.
#eval PyIO.toIO do
return (← getPyTrue).toBool
def
Returns the False constant of the Python environment.
def
Returns the True constant of the Python environment.