UNPKG

wgsl_reflect

Version:
5 lines (4 loc) 275 B
export declare function isArray(value: any): boolean; export declare function isNumber(value: any): boolean; export declare function castScalar(v: number, from: string, to: string): number; export declare function castVector(v: number[], from: string, to: string): number[];