Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
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
87
function
asString(value: unknown): string {
88
return
typeof value ===
'string'
? value :
''
89
}
90
91
async
function
guard(run: () => Promise<PiToolResult>): Promise<PiToolResult> {
92
try {
Callers
1
buildSshToolSpecs
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected