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

Function markUnchecked

ark/schema/shared/utils.ts:110–115  ·  view source on GitHub ↗
(node: BaseNode)

Source from the content-addressed store, hash-verified

108 * unchecked from nodesByKey if that check throws or is discarded
109 */
110export const markUnchecked = (node: BaseNode): void => {
111 node.c.unchecked = (node.c.unchecked ?? 0) + 1
112 queueUnchecked(() => {
113 node.c.unchecked!--
114 })
115}
116
117export type UncheckedOwner = [
118 fail: (e: unknown) => void,

Callers 2

structure.tsFile · 0.90
createNodeFunction · 0.90

Calls 1

queueUncheckedFunction · 0.85

Tested by

no test coverage detected