MCPcopy Index your code
hub / github.com/simstudioai/sim / asString

Function asString

apps/sim/executor/handlers/pi/ssh-tools.ts:87–89  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

85}
86
87function asString(value: unknown): string {
88 return typeof value === 'string' ? value : ''
89}
90
91async function guard(run: () => Promise<PiToolResult>): Promise<PiToolResult> {
92 try {

Callers 1

buildSshToolSpecsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected