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?