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

Function asString

apps/sim/tools/instantly/utils.ts:352–354  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

350}
351
352function asString(value: unknown): string | null {
353 return typeof value === 'string' ? value : null
354}
355
356function asNumber(value: unknown): number | null {
357 return typeof value === 'number' && Number.isFinite(value) ? value : null

Callers 5

getNextStartingAfterFunction · 0.70
mapLeadFunction · 0.70
mapCampaignFunction · 0.70
mapEmailFunction · 0.70
mapLeadListFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected