Module

x/zod/external.ts>Schema#isOptional

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
method Schema.prototype.isOptional
import { Schema } from "https://dotland.deno.dev/x/zod@v3.20/external.ts";

Returns

boolean