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

Function typePathToPropString

ark/schema/node.ts:2125–2130  ·  view source on GitHub ↗
(path: array<KeyOrKeyNode>)

Source from the content-addressed store, hash-verified

2123}
2124
2125export const typePathToPropString = (path: array<KeyOrKeyNode>): string =>
2126 stringifyPath(path, {
2127 // symbols that print alike are still different keys
2128 stringifySymbol: nameOf,
2129 stringifyNonKey: node => node.expression
2130 })
2131
2132export const flatRef = <node extends BaseRoot>(
2133 path: array<KeyOrKeyNode>,

Callers 1

flatRefFunction · 0.85

Calls 1

stringifyPathFunction · 0.90

Tested by

no test coverage detected