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

Function normalize

apps/sim/lib/workflows/search-replace/resources/resolvers.ts:184–184  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

182 if (match.kind === 'text') return true
183
184 const normalize = (value: string) => (caseSensitive ? value : value.toLowerCase())
185 const searchable =
186 match.resource?.kind === 'workflow-reference' || match.resource?.kind === 'environment'
187 ? [match.displayLabel, match.rawValue, match.searchText]

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected