Module

x/zod/external.ts>ZodString#nonempty

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
method ZodString.prototype.nonempty
Deprecated
Deprecated

Use z.string().min(1) instead.

import { ZodString } from "https://dotland.deno.dev/x/zod@v3.22.4/external.ts";

Parameters

optional
message: errorUtil.ErrMessage