Mojo function
all
all[T: Boolable & Copyable & Movable, //](list: List[T]) -> Bool
Checks if all elements in the list are truthy.
Parameters:
Args:
- list (
List): The list to check.
Returns:
Bool: True if all elements in the list are truthy, False otherwise.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!