Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode
/ stable
Function
stable
packages/opencode/test/server/httpapi-exercise/assertions.ts:16–18 ·
view source on GitHub ↗
(value: unknown)
Source
from the content-addressed store, hash-verified
14
}
15
16
export
function
stable(value: unknown): string {
17
return
JSON.stringify(sort(value))
18
}
19
20
function
sort(value: unknown): unknown {
21
if
(Array.isArray(value))
return
value.map(sort)
Callers
1
index.ts
File · 0.90
Calls
1
sort
Function · 0.70
Tested by
no test coverage detected