# convert

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

Convert vector lanes to `U`.

```ds title="convert"
export declare function convert<U, T, const N: usize>(value: Vector<T, N>): Vector<U, N>
```

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