Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/zod/mod.ts>ZodType#isOptional

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

Returns

boolean