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

Function toNullableNumber

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

Source from the content-addressed store, hash-verified

469}
470
471function toNullableNumber(value: unknown): number | null {
472 if (value === undefined || value === null) return null
473 return toNumber(value)
474}
475
476function toNullableBoolean(value: unknown): boolean | null {
477 if (value === undefined || value === null) return null

Callers 7

mapLeadFunction · 0.85
mapCampaignFunction · 0.85
mapCampaignTagFunction · 0.85
mapTagFunction · 0.85
mapReplyFunction · 0.85
mapLeadStatsFunction · 0.85
mapReplyAttachmentFunction · 0.85

Calls 1

toNumberFunction · 0.70

Tested by

no test coverage detected