import { boolean } from "https://deno.land/x/valibot@v0.19.0/src/schemas/boolean/index.ts";
Creates a boolean schema.
Parameters
optional
pipe: Pipe<boolean>A validation and transformation pipe.
Returns
A boolean schema.
Creates a boolean schema.
Parameters
optional
error: ErrorMessageThe error message.
optional
pipe: Pipe<boolean>A validation and transformation pipe.
Returns
A boolean schema.