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

x/zod/index.ts>z.coerce

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
variable z.coerce
import { z } from "https://deno.land/x/zod@v3.22.1/index.ts";
const { coerce } = z;

type

{ string; number; boolean; bigint; date; }