UNPKG

@wgslx/wgslx

Version:

Extended WebGPU shading language tools

9 lines (7 loc) 219 B
export const TEMPLATE_START = '\u276c'; export const TEMPLATE_END = '\u276d'; export function isValued<TValue>( value: TValue | null | undefined ): value is TValue { return value !== null && value !== undefined; }