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

Function ownUnchecked

ark/schema/shared/utils.ts:136–145  ·  view source on GitHub ↗
(
	fail: (e: unknown) => void,
	from = 0,
	to = Infinity,
	unrun: () => void = fail as never
)

Source from the content-addressed store, hash-verified

134 * they waited on did: nothing has failed, and nothing will check it again
135 */
136export const ownUnchecked = (
137 fail: (e: unknown) => void,
138 from = 0,
139 to = Infinity,
140 unrun: () => void = fail as never
141): UncheckedOwner => {
142 const owner: UncheckedOwner = [fail, from, to, unrun]
143 uncheckedOwners.push(owner)
144 return owner
145}
146
147let assertingUnchecked = false
148

Callers 4

holdAmbientFunction · 0.90
resolvePendingFunction · 0.90
resolveDefinitionFunction · 0.90
resolutionMethod · 0.90

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected