Mojo function
all
all[IterableType: Iterable](iterable: IterableType) -> Bool
Checks if all elements in the list are truthy.
Parameters:
- โIterableType (
Iterable): The type of the iterable containingBoolableitems.
Args:
- โiterable (
IterableType): The iterable to check.
Returns:
Bool: True if all elements in the iterable are truthy, False otherwise.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!