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: TheBoolabletrait describes a type that can be explicitly converted to aBoolor evaluated as a boolean expression iniforwhileconditions. -
ImplicitlyBoolable: TheImplicitlyBoolabletrait 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!