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

Function toStringNumberOrNull

apps/sim/tools/emailbison/utils.ts:457–460  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

455}
456
457function toStringNumberOrNull(value: unknown): number | string | null {
458 if (typeof value === 'number' || typeof value === 'string') return value
459 return null
460}
461
462function toNumber(value: unknown): number | null {
463 if (typeof value === 'number') return value

Callers 1

mapReplyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected