Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/arktype/parse/definition.ts>parseDefinition

TypeScript's 1:1 validator, optimized from editor to runtime
Latest
variable parseDefinition
import { parseDefinition } from "https://deno.land/x/arktype@v1.0.10-alpha/parse/definition.ts";

type

(def: unknown, ctx: ParseContext) => Node