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

Function unwrapParentheses

ark/aot/usage.ts:1075–1078  ·  view source on GitHub ↗
(node: Node)

Source from the content-addressed store, hash-verified

1073}
1074
1075const unwrapParentheses = (node: Node): Node =>
1076 node.type === "ParenthesizedExpression" ?
1077 unwrapParentheses(node.expression)
1078 : node
1079
1080type KeyReads = { keys: Set<string>; any: boolean }
1081

Callers 1

exportedFunctionsOfFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected