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

Method skip

ark/schema/shared/errors.ts:426–430  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

424 }
425
426 private skip(): boolean {
427 if (this.stopsElsewhere) this.left = true
428 super.addError(skipped)
429 return this.left || this.failFast
430 }
431
432 override _at(site: FailureSite, data: unknown, key?: PropertyKey): boolean {
433 return this.isElsewhere(key) ? this.skip() : super._at(site, data, key)

Callers 7

unplugin.test.tsFile · 0.80
shadow.test.tsFile · 0.80
drivers.test.tsFile · 0.80
_atMethod · 0.80
failsUnionMethod · 0.80
addErrorMethod · 0.80
callerFunction · 0.80

Calls 1

addErrorMethod · 0.45

Tested by

no test coverage detected