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

Function leaveResolution

ark/schema/shared/utils.ts:211–214  ·  view source on GitHub ↗
(resolved: boolean)

Source from the content-addressed store, hash-verified

209 * next, whose checks they aren't
210 */
211export const leaveResolution = (resolved: boolean): void => {
212 inProgress.resolutions--
213 if (!resolved && isResolutionFinal()) discardUnchecked()
214}
215
216// a check left from a parse that threw would read its unresolved aliases
217export const defining = <t>(define: () => t): t => {

Callers 2

resolutionMethod · 0.90
resolvingFunction · 0.85

Calls 2

isResolutionFinalFunction · 0.85
discardUncheckedFunction · 0.85

Tested by

no test coverage detected