menu
LaneOf
import { LaneOf } from "destack:math";
Return the element type in Vector<T, N>.
1export type LaneOf<V> = V extends Vector<infer T, infer N> ? LaneOf.T : neverimport { LaneOf } from "destack:math";
Return the element type in Vector<T, N>.
1export type LaneOf<V> = V extends Vector<infer T, infer N> ? LaneOf.T : never