# LaneCount

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

Return the number of lanes in `Vector<T, N>`.

```ds title="LaneCount"
export type LaneCount<V> = V extends Vector<infer T, infer N> ? LaneCount.N : never
```

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