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

Method defaulted

ark/type/checkers.ts:1241–1244  ·  view source on GitHub ↗
(write: DefaultWrite, out: any)

Source from the content-addressed store, hash-verified

1239 }
1240
1241 defaulted(write: DefaultWrite, out: any) {
1242 const written = write(out, this.ctx)
1243 if (written !== out) this.gather(written as TransformErrors)
1244 }
1245}
1246
1247// a transform's Written: where there's no ctx, one for each depth of those

Callers

nothing calls this directly

Calls 2

gatherMethod · 0.95
writeFunction · 0.70

Tested by

no test coverage detected