Skip to main content

Mojo function

all_true

all_true(src: Buffer[type, size, address_space=address_space, origin=origin]) -> Bool

Returns True if all the elements in a buffer are True and False otherwise.

Args:

  • src (Buffer[type, size, address_space=address_space, origin=origin]): The buffer.

Returns:

True if all of the elements of the buffer are True and False otherwise.