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

Function getNumberProp

apps/sim/lib/media/falai.ts:56–62  ·  view source on GitHub ↗
(
  record: Record<string, unknown> | undefined,
  key: string
)

Source from the content-addressed store, hash-verified

54}
55
56export function getNumberProp(
57 record: Record<string, unknown> | undefined,
58 key: string
59): number | undefined {
60 const value = record?.[key]
61 return typeof value === 'number' ? value : undefined
62}
63
64function falQueueUrl(endpoint: string, requestId: string, path: 'status' | 'response'): string {
65 return `https://queue.fal.run/${endpoint}/requests/${requestId}/${path}`

Callers 1

generateFalVideoFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected