Mojo module
bool
Implements the Bool class.
These are Mojo built-ins, so you don't need to import them.
Structsβ
- β
Bool
: The primitive Bool scalar value used in Mojo.
Traitsβ
- β
Boolable
: TheBoolable
trait describes a type that can be explicitly converted to aBool
or evaluated as a boolean expression inif
orwhile
conditions. - β
ImplicitlyBoolable
: TheImplicitlyBoolable
trait describes a type that can be implicitly converted to aBool
.
Functionsβ
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!
If you'd like to share more information, please report an issue on GitHub
π What went wrong?