### Navigation

- index
- modules |
- next |
- previous |
- NumPy v1.3 Manual (DRAFT) »
- NumPy Reference »
- Routines »
- Masked array operations »

# numpy.ma.any

`numpy.ma.``any`(self, axis=None, out=None)

  Check if any of the elements of a are true.

  Performs a logical_or over the given axis and returns the result. Masked values are considered as False during computation.

  Parameters: | axis : {None, integer} Axis to perform the operation over. If None, perform over flattened array and return a scalar. out : {None, array}, optional Array into which the result can be placed. Its type is preserved and it must be of the right shape to hold the output.

  See also

  `any`
    equivalent function

### Navigation

- index
- modules |
- next |
- previous |
- NumPy v1.3 Manual (DRAFT) »
- NumPy Reference »
- Routines »
- Masked array operations »