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

Function cleanString

apps/sim/blocks/blocks/sharepoint.ts:925–926  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

923 } = params
924
925 const cleanString = (value: unknown) =>
926 value === undefined || value === null ? undefined : String(value).trim() || undefined
927 const coerceBoolean = (value: unknown) => {
928 if (typeof value === 'boolean') return value
929 if (typeof value === 'string') return value.toLowerCase() === 'true'

Callers 1

sharepoint.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected