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

Function parseSchema

ark/schema/parseSchema.ts:198–202  ·  view source on GitHub ↗
(
	schema: unknown,
	$: BaseScope,
	opts?: BaseParseOptions
)

Source from the content-addressed store, hash-verified

196}
197
198export const parseSchema = (
199 schema: unknown,
200 $: BaseScope,
201 opts?: BaseParseOptions
202): BaseRoot => parseNodeSchema(schemaKindOf(schema), schema, $, opts)
203
204export const parseNodeSchema = <kind extends NodeKind>(
205 kind: kind,

Callers 4

scope.tsFile · 0.90
parseOwnMethod · 0.90
readPropFunction · 0.85
parseSchema.tsFile · 0.85

Calls 2

parseNodeSchemaFunction · 0.85
schemaKindOfFunction · 0.85

Tested by

no test coverage detected