Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode
/ stringValue
Function
stringValue
packages/opencode/src/acp/tool.ts:362–364 ·
view source on GitHub ↗
(value: unknown)
Source
from the content-addressed store, hash-verified
360
}
361
362
function
stringValue(value: unknown) {
363
return
typeof value ===
"string"
? value : undefined
364
}
Callers
7
shellOutputSnapshot
Function · 0.70
shellWorkdir
Function · 0.70
shellCommand
Function · 0.70
locationFrom
Function · 0.70
diffContent
Function · 0.70
readDisplayText
Function · 0.70
dataUrlImage
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected