Mojo function
bool
bool(value: None) -> Bool
Get the bool representation of the None
type.
Args:
- βvalue (
None
): The object to get the bool representation of.
Returns:
The bool representation of the object.
bool[T: Boolable, //](value: T) -> Bool
Get the bool representation of the object.
Parameters:
- βT (
Boolable
): The type of the object.
Args:
- βvalue (
T
): The object to get the bool representation of.
Returns:
The bool representation of the object.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!
π What went wrong?