x/zod/types.ts

TypeScript-first schema validation with static type inference
Very Popular
Go to Latest
class ZodBoolean
extends ZodType<boolean, ZodBooleanDef>
import { ZodBoolean } from "https://deno.land/x/zod@v3.17.3/types.ts?s=ZodBoolean";

Methods

_parse(input: ParseInput): ParseReturnType<boolean>[src]

Static Properties

create: (params?: RawCreateParams) => ZodBoolean[src]