# all

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

Return whether all selected boolean values are true.

```ds title="all"
export declare function all<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:258:266](https://github.com/destack-sh/destack/blob/main/language/library/src/tensor/ops.ds#L258-L266)
