Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
389
function
negate(x: Json): Json {
390
if
(typeof x ===
'number'
)
return
-x;
391
return
[
'Negate'
, x];
392
}
393
394
function
divide(a: Json, b: Json): Json {
395
if
(
Callers
1
parsePrefix
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected