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

Function error

src/dyno/mathTypes.ts:356–358  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

354 operation = "add",
355): AddOutput<A, B> {
356 const error = () => {
357 throw new Error(`Invalid ${operation} types: ${a}, ${b}`);
358 };
359 // @ts-ignore
360 if (a === b) return a as AddOutput<A, B>;
361 if (a === "int") {

Callers 2

addOutputTypeFunction · 0.85
mulOutputTypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected