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

Function pathKeyOf

ark/aot/issues.ts:40–41  ·  view source on GitHub ↗
(path: readonly PropertyKey[])

Source from the content-addressed store, hash-verified

38}
39
40export const pathKeyOf = (path: readonly PropertyKey[]): string =>
41 path.map(String).join("\0")
42
43const sortKeyOf = (issue: KeptIssue) =>
44 [...issue.path.map(String), issue.code].join("\0")

Callers 3

firstIssueOfFunction · 0.90
writtenIssueOfFunction · 0.90
withAlikeFunction · 0.90

Calls 1

mapMethod · 0.65

Tested by 2

writtenIssueOfFunction · 0.72
withAlikeFunction · 0.72