Skip to main content
Module

x/zod/index.ts>ZodBoolean

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

Methods

_parse(input: ParseInput): ParseReturnType<boolean>

Static Properties

create: (params?: RawCreateParams) => ZodBoolean