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

Function notedAs

ark/schema/shared/issuesLean.ts:370–373  ·  view source on GitHub ↗
(issue: ArkIssue, copy: ArkIssue)

Source from the content-addressed store, hash-verified

368 Object.defineProperty(issue, "_c", { value: 2 })
369
370export const notedAs = (issue: ArkIssue, copy: ArkIssue): ArkIssue =>
371 labelsValues && issue._n !== undefined ? labeledIssue(copy, issue._n)
372 : listsUnions && writesText && issue._c ? codedIssue(copy)
373 : copy
374
375export const movedIssue = (issue: ArkIssue, path: PropertyKey[]): ArkIssue =>
376 notedAs(issue, {

Callers 1

movedIssueFunction · 0.70

Calls 2

labeledIssueFunction · 0.70
codedIssueFunction · 0.70

Tested by

no test coverage detected