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

Function getString

apps/sim/tools/mem0/search_memories.ts:12–13  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

10}
11
12const getString = (value: unknown): string | undefined =>
13 typeof value === 'string' ? value : undefined
14
15const getStringArray = (value: unknown): string[] | undefined =>
16 Array.isArray(value)

Callers 1

search_memories.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected