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