MCPcopy
hub / github.com/arktypeio/arktype / parseOwnDefinitionFormat

Method parseOwnDefinitionFormat

ark/schema/scope.ts:735–737  ·  view source on GitHub ↗
(def: unknown, ctx: NodeParseContext)

Source from the content-addressed store, hash-verified

733
734export class SchemaScope<$ extends {} = {}> extends BaseScope<$> {
735 parseOwnDefinitionFormat(def: unknown, ctx: NodeParseContext): BaseRoot {
736 return parseNode(ctx) as never
737 }
738
739 protected preparseOwnDefinitionFormat(
740 schema: RootSchema,

Callers 2

maybeResolveFunction · 0.45
parseDefinitionFunction · 0.45

Calls 1

parseNodeFunction · 0.90

Tested by

no test coverage detected