Mojo function
any_true
any_true(src: Buffer[type, size, address_space]) -> Bool
Returns True if any the elements in a buffer are True and False otherwise.
Args:
- src (
Buffer[type, size, address_space]
): The buffer.
Returns:
True if any of the elements of the buffer are True and False otherwise.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!