MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / negate

Function negate

scripts/rubi/wl-parser.ts:389–392  ·  view source on GitHub ↗
(x: Json)

Source from the content-addressed store, hash-verified

387}
388
389function negate(x: Json): Json {
390 if (typeof x === 'number') return -x;
391 return ['Negate', x];
392}
393
394function divide(a: Json, b: Json): Json {
395 if (

Callers 1

parsePrefixMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected