MCPcopy 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
362function stringValue(value: unknown) {
363 return typeof value === "string" ? value : undefined
364}

Callers 7

shellOutputSnapshotFunction · 0.70
shellWorkdirFunction · 0.70
shellCommandFunction · 0.70
locationFromFunction · 0.70
diffContentFunction · 0.70
readDisplayTextFunction · 0.70
dataUrlImageFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected