method z.ZodError.assertimport { z } from "https://dotland.deno.dev/x/zod@v3.23.2/mod.ts"; const { ZodError } = z; assert(value: unknown): asserts value is ZodErrorParametersvalue: unknownReturnsasserts value is ZodError