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

Function sanitizeTextArray

apps/sim/lib/file-parsers/utils.ts:24–26  ·  view source on GitHub ↗
(texts: string[])

Source from the content-addressed store, hash-verified

22 * Sanitize an array of strings
23 */
24export function sanitizeTextArray(texts: string[]): string[] {
25 return texts.map((text) => sanitizeTextForUTF8(text))
26}
27
28/**
29 * Check if a string contains problematic characters for UTF-8 storage

Callers

nothing calls this directly

Calls 1

sanitizeTextForUTF8Function · 0.85

Tested by

no test coverage detected