Skip to main content
Module

x/valibot/mod.ts>BooleanSchema

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
type alias BooleanSchema
import { type BooleanSchema } from "https://deno.land/x/valibot@v0.28.1/mod.ts";

Boolean schema type.

Type Parameters

optional
TOutput = boolean
definition: BaseSchema<boolean, TOutput> & { type: "boolean"; message: ErrorMessage | undefined; pipe: Pipe<boolean> | undefined; }