# reduceXor

`import { reduceXor } from "destack:math";`

Horizontal reduction: bitwise XOR of all lanes.

```ds title="reduceXor"
export declare function reduceXor<T: Integer, const N: usize>(v: Vector<T, N>): T
```

[language/library/src/math/vector.ds:141](https://github.com/destack-sh/destack/blob/main/language/library/src/math/vector.ds#L141)
