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

Method tAllows

ark/schema/structure/structure.ts:595–597  ·  view source on GitHub ↗
(data: object, ctx: InternalTraversal | AliasDepth)

Source from the content-addressed store, hash-verified

593 }
594
595 tAllows(data: object, ctx: InternalTraversal | AliasDepth): boolean {
596 return this._traverse("Allows", data, ctx as never)
597 }
598
599 tApply(data: object, ctx: InternalTraversal): void {
600 if (this.sharesTfs && transformsValid(ctx)) this.applySharedKeys(data, ctx)

Callers 1

_traverseMethod · 0.45

Calls 1

_traverseMethod · 0.95

Tested by

no test coverage detected