MCPcopy Create free account
hub / github.com/ResearAI/AutoFigure / normalizeWs

Function normalizeWs

frontend/lib/utils.ts:483–483  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

481 // Collapse all whitespace and compare
482 if (!matchFound) {
483 const normalizeWs = (s: string) => s.replace(/\s+/g, " ").trim()
484 const normalizedSearch = normalizeWs(search)
485
486 for (

Callers 1

replaceXMLPartsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected