# LaneOf

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

Return the element type in `Vector<T, N>`.

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

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