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

Function getNumber

apps/sim/tools/vanta/utils.ts:86–88  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

84}
85
86function getNumber(value: unknown): number | null {
87 return typeof value === 'number' && Number.isFinite(value) ? value : null
88}
89
90function getBoolean(value: unknown): boolean | null {
91 return typeof value === 'boolean' ? value : null

Callers 7

exchangeVantaTokenFunction · 0.70
normalizeVantaFrameworkFunction · 0.70
normalizeVantaTestFunction · 0.70
normalizeVantaVendorFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected