x/zod/index.ts

TypeScript-first schema validation with static type inference
Very Popular
Go to Latest
class ParseStatus
import { ParseStatus } from "https://deno.land/x/zod@v3.17.3/index.ts?s=ParseStatus";

Properties

value: "aborted" | "dirty" | "valid"[src]

Methods

abort()[src]
dirty()[src]

Static Methods

mergeArray(status: ParseStatus, results: SyncParseReturnType<any>[]): SyncParseReturnType[src]
mergeObjectAsync(status: ParseStatus, pairs: { key: ParseReturnType<any>; value: ParseReturnType<any>; }[]): Promise<SyncParseReturnType<any>>[src]
mergeObjectSync(status: ParseStatus, pairs: { key: SyncParseReturnType<any>; value: SyncParseReturnType<any>; alwaysSet?: boolean; }[]): SyncParseReturnType[src]
import ParseStatus
import { ParseStatus } from "https://deno.land/x/zod@v3.17.3/index.ts?s=ParseStatus";