# any

`import { any } from "destack:tensor";`

Return whether any selected boolean value is true.

```ds title="any"
export declare function any<const Rank: usize, const AxisCount: usize, const OutRank: usize = Rank - AxisCount>(tensor: Tensor<boolean, Rank>, axisSet: AxisSet<AxisCount>, options?: TensorReduceOptions<boolean, OutRank> | undefined): Tensor<boolean, OutRank>
```

[language/library/src/tensor/ops.ds:270:278](https://github.com/destack-sh/destack/blob/main/language/library/src/tensor/ops.ds#L270-L278)
