ImageFile.all(axis=None, out=None, keepdims=<no value>)

Returns True if all elements evaluate to True.

The output array is masked where all the values along the given axis are masked: if the output would have been a scalar and that all the values are masked, then the output is masked.

Refer to numpy.all for full documentation.

numpy.ndarray.all : corresponding function for ndarrays numpy.all : equivalent function

>>> a =[1,2,3], mask=True)
>>> (a.all() is