Skip to main content
Module

x/zod/index.ts>z.ZodType#isOptional

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
method z.ZodType.prototype.isOptional
Re-export
import { z } from "https://deno.land/x/zod@v3.19.1/index.ts";
const { ZodType } = z;

Returns

boolean