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

Function getStringProperty

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

Source from the content-addressed store, hash-verified

1083}
1084
1085function getStringProperty(
1086 record: Record<string, unknown> | undefined,
1087 key: string
1088): string | undefined {
1089 const value = record?.[key]
1090 return typeof value === 'string' ? value : undefined
1091}
1092
1093function getNumberProperty(
1094 record: Record<string, unknown> | undefined,

Callers 2

getFalAIErrorMessageFunction · 0.70
generateWithFalAIFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected