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

Function optionalString

apps/sim/tools/railway/utils.ts:51–54  ·  view source on GitHub ↗
(value?: string)

Source from the content-addressed store, hash-verified

49}
50
51export function optionalString(value?: string): string | undefined {
52 const trimmed = value?.trim()
53 return trimmed ? trimmed : undefined
54}

Callers 10

create_project.tsFile · 0.90
list_variables.tsFile · 0.90
create_service.tsFile · 0.90
upsert_variable.tsFile · 0.90
deploy_service.tsFile · 0.90
update_project.tsFile · 0.90
delete_variable.tsFile · 0.90
list_projects.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected