Test whether all data array elements evaluate to True.
Performs a logical and over the data array and returns the result. Masked values are considered as True during computation.
See also
Examples 1: |
---|
>>> b = f.all()
Returns: |
|
---|---|
Examples: |
>>> print f.array
[[0 3 0]]
>>> f.all()
False
>>> print f.array
[[1 3 --]]
>>> f.all()
True