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

Function readProp

ark/schema/parseSchema.ts:311–314  ·  view source on GitHub ↗
(schema: PropSchema, $: BaseScope)

Source from the content-addressed store, hash-verified

309 }
310
311const readProp = (schema: PropSchema, $: BaseScope) => ({
312 ...schema,
313 value: parseSchema(schema.value, $)
314})
315
316const readers: Record<NodeKind, SchemaReader> = {
317 alias: (schema, $, opts) => {

Callers

nothing calls this directly

Calls 1

parseSchemaFunction · 0.85

Tested by

no test coverage detected