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

Method parseOwn

ark/schema/scope.ts:1237–1239  ·  view source on GitHub ↗
(def: unknown, ctx: BaseParseContext)

Source from the content-addressed store, hash-verified

1235
1236export class SchemaScope<$ extends {} = {}> extends BaseScope<$> {
1237 parseOwn(def: unknown, ctx: BaseParseContext): BaseRoot {
1238 return parseSchema(def, this, ctx.alias ? { alias: ctx.alias } : undefined)
1239 }
1240
1241 protected preparseOwn(
1242 def: unknown,

Callers 1

parseOpenDefFunction · 0.45

Calls 1

parseSchemaFunction · 0.90

Tested by

no test coverage detected