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

Function result

src/dyno/mathTypes.ts:402–402  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

400 throw new Error(`Invalid mul types: ${a}, ${b}`);
401 };
402 const result = (value: unknown) => value as MulOutput<A, B>;
403 if (a === "int") {
404 if (isIntType(b)) return result(b);
405 error();

Callers 1

mulOutputTypeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected