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

Function writtenFor

ark/type/checkers.ts:1254–1259  ·  view source on GitHub ↗
(ctx: any)

Source from the content-addressed store, hash-verified

1252let depth = 0
1253
1254const writtenFor = (ctx: any): Written => {
1255 if (ctx) return new Written(ctx)
1256 const values = (writtenAtDepth[depth] ??= new Written())
1257 depth++
1258 return values
1259}
1260
1261// holding nothing it gathered while it's free
1262const freed = (values: Written) => {

Callers 2

checkers.tsFile · 0.70
failingValuesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected