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

x/zod/mod.ts>z.ZodBooleanDef

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
interface z.ZodBooleanDef
implements ZodTypeDef
import { type z } from "https://deno.land/x/zod@v3.23.3/mod.ts";
const { ZodBooleanDef } = z;

Properties

typeName: ZodFirstPartyTypeKind.ZodBoolean
coerce: boolean