MCPcopy
hub / github.com/simstudioai/sim / str

Function str

apps/sim/enrichments/providers.ts:25–27  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

23
24/** Coerces an unknown input value to a trimmed string (`''` when nullish). */
25export function str(value: unknown): string {
26 return String(value ?? '').trim()
27}
28
29/** Strips protocol / path / leading `www.` from a domain-ish input. */
30export function normalizeDomain(value: unknown): string {

Calls

no outgoing calls