Module

x/zod/mod.ts>z.ZodNumber#negative

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

Parameters

optional
message: errorUtil.ErrMessage