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

Function compactTextOf

ark/aot/graph.ts:7411–7412  ·  view source on GitHub ↗
(node: Node, module: SourceModule)

Source from the content-addressed store, hash-verified

7409}
7410
7411const compactTextOf = (node: Node, module: SourceModule) =>
7412 module.textOf(node).replace(/\s/g, "")
7413
7414// `arguments` aliases each parameter
7415export const readsArguments = (fn: FunctionNode): boolean => {

Callers 1

namedFunctionOfFunction · 0.85

Calls 2

replaceMethod · 0.80
textOfMethod · 0.45

Tested by

no test coverage detected