Module

x/zod/index.ts>z.ZodError.assert

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
method z.ZodError.assert
import { z } from "https://dotland.deno.dev/x/zod@v3.23.7/index.ts";
const { ZodError } = z;

Parameters

value: unknown

Returns

asserts value is ZodError