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

Method tApply

ark/schema/structure/structure.ts:599–602  ·  view source on GitHub ↗
(data: object, ctx: InternalTraversal)

Source from the content-addressed store, hash-verified

597 }
598
599 tApply(data: object, ctx: InternalTraversal): void {
600 if (this.sharesTfs && transformsValid(ctx)) this.applySharedKeys(data, ctx)
601 else this._traverse("Apply", data, ctx)
602 }
603
604 protected _traverse(
605 trav: TraversalKind,

Callers 1

_traverseMethod · 0.45

Calls 3

applySharedKeysMethod · 0.95
_traverseMethod · 0.95
transformsValidFunction · 0.90

Tested by

no test coverage detected