MCPcopy Create free account
hub / github.com/arktypeio/arktype / compact

Function compact

ark/docs/components/shell/SearchPanel.tsx:52–52  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

50 .map(fold)
51
52const compact = (text: string) => text.replaceAll(/[\s-]/g, "")
53
54let loading: Promise<Loaded> | undefined
55

Callers 1

loadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected