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

Function getNumber

apps/sim/lib/tools/falai-pricing.ts:35–37  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

33}
34
35function getNumber(value: unknown): number | undefined {
36 return typeof value === 'number' && Number.isFinite(value) ? value : undefined
37}
38
39function getFalAIFallbackProviderCostDollars(endpointId: string): number {
40 const normalizedEndpointId = endpointId.toLowerCase()

Callers 2

parseBillingEventFunction · 0.70
estimateFalAICallCostFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected