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

Function asRawString

apps/sim/executor/handlers/pi/pi-handler.ts:48–50  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

46}
47
48function asRawString(value: unknown): string | undefined {
49 return typeof value === 'string' && value !== '' ? value : undefined
50}
51
52export class PiBlockHandler implements BlockHandler {
53 canHandle(block: SerializedBlock): boolean {

Callers 1

executeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected