Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/zod/mod.ts>z.util.assertEqual

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
variable z.util.assertEqual
import { z } from "https://deno.land/x/zod@v3.23.2/mod.ts";
const { assertEqual } = z.util;

type

<A, B>(val: AssertEqual<A, B>) => unknown