Module

x/zod/index.ts>z.ZodNumber#positive

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

Parameters

optional
message: errorUtil.ErrMessage