Skip to main content
Log in

Mojo function

all_true

all_true(src: NDBuffer[type, 1, origin]) -> Bool

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

Args:

  • src (NDBuffer[type, 1, origin]): The buffer.

Returns:

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