method z.ZodSchema.prototype.isOptionalimport { z } from "https://dotland.deno.dev/x/zod@v3.17.10/mod.ts"; const { ZodSchema } = z; isOptional(): booleanReturnsboolean