Mojo function
bool
bool[T: Boolable, //](value: T) -> Bool
Get the bool representation of the object.
Deprecated:
the bool
function is deprecated, use the Bool
constructor instead
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!