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

Function appendPath

ark/type/standalone/keys.ts:292–296  ·  view source on GitHub ↗
(path: string, rest: string)

Source from the content-addressed store, hash-verified

290}
291
292export const appendPath = (path: string, rest: string): string =>
293 !path ? rest
294 : !rest ? path
295 : rest[0] === "[" ? path + rest
296 : `${path}.${rest}`
297
298// a Generic alias is a function too, but isn't a thunk
299const isThunkAlias = (def: unknown): boolean =>

Callers 2

incomparableReasonsOfMethod · 0.90
writeKeyOfFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected