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

x/zod/ZodError.ts>ZodError.assert

TypeScript-first schema validation with static type inference
Very Popular
Go to Latest
method ZodError.assert
import { ZodError } from "https://deno.land/x/zod@v3.23.3/ZodError.ts";

Parameters

value: unknown

Returns

asserts value is ZodError