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

Function toStringOrNull

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

Source from the content-addressed store, hash-verified

450}
451
452function toStringOrNull(value: unknown): string | null {
453 if (value === undefined || value === null) return null
454 return String(value)
455}
456
457function toStringNumberOrNull(value: unknown): number | string | null {
458 if (typeof value === 'number' || typeof value === 'string') return value

Callers 8

mapLeadFunction · 0.70
mapCampaignFunction · 0.70
mapCampaignTagFunction · 0.70
mapTagFunction · 0.70
mapReplyFunction · 0.70
actionOutputFunction · 0.70
mapReplyAddressFunction · 0.70
mapReplyAttachmentFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected