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

Function tfs

ark/schema/node.ts:621–625  ·  view source on GitHub ↗

* whether it alters data, counting what it reaches through aliases, which * `alters` doesn't see; final once nothing but inputs and outputs is open

()

Source from the content-addressed store, hash-verified

619 * `alters` doesn't see; final once nothing but inputs and outputs is open
620 */
621 get tfs(): boolean {
622 if (this.c.tfs !== undefined) return this.c.tfs
623 const tfs = this.reaches("alters")
624 return isIoFinal() ? (this.c.tfs = tfs) : tfs
625 }
626
627 /** whether checking data reaches a narrow that reads `ctx`, through aliases too, so Allows needs a traversal */
628 get checksCtx(): boolean {

Callers

nothing calls this directly

Calls 2

isIoFinalFunction · 0.90
reachesMethod · 0.45

Tested by

no test coverage detected