Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

z.ZodBoolean

import { z } from "https://esm.sh/zod@3.25.76/index.d.cts"; 

const { ZodBoolean } = z;
class ZodBoolean extends ZodType<boolean, ZodBooleanDef, boolean> {
_parse(input: ParseInput): ParseReturnType<boolean>;
 
static create: (params?: RawCreateParams & {
coerce?: boolean;
}
) => ZodBoolean
;
}

§Extends

§
ZodType<boolean, ZodBooleanDef, boolean>
[src]

§Methods

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

§Static Properties

§
create: (params?: RawCreateParams & {
coerce?: boolean;
}
) => ZodBoolean
[src]