MCPcopy
hub / github.com/sparkjsdev/spark / isAllFloatType

Function isAllFloatType

src/dyno/types.ts:161–163  ·  view source on GitHub ↗
(type: DynoType)

Source from the content-addressed store, hash-verified

159}
160
161export function isAllFloatType(type: DynoType): boolean {
162 return isFloatType(type) || isMatFloatType(type);
163}
164
165export function isVector2Type(type: DynoType): boolean {
166 return type === "vec2" || type === "ivec2" || type === "uvec2";

Callers 5

literalZeroFunction · 0.90
literalOneFunction · 0.90
literalNegOneFunction · 0.90
addOutputTypeFunction · 0.90
mulOutputTypeFunction · 0.90

Calls 2

isFloatTypeFunction · 0.85
isMatFloatTypeFunction · 0.85

Tested by

no test coverage detected