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

Function getStringProperty

apps/sim/app/api/tools/image/route.ts:435–441  ·  view source on GitHub ↗
(
  record: Record<string, unknown> | undefined,
  key: string
)

Source from the content-addressed store, hash-verified

433}
434
435function getStringProperty(
436 record: Record<string, unknown> | undefined,
437 key: string
438): string | undefined {
439 const value = record?.[key]
440 return typeof value === 'string' ? value : undefined
441}
442
443function getNumberProperty(
444 record: Record<string, unknown> | undefined,

Callers 4

generateWithOpenAIFunction · 0.70
generateWithGeminiFunction · 0.70
getFalAIErrorMessageFunction · 0.70
generateWithFalAIFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected