Skip to main content
Module

x/kysely_deno_postgres_dialect/mod.ts>kysely.Equals

Kysely dialect for PostgreSQL using the deno-postgres client.
Go to Latest
type alias kysely.Equals
import { type kysely } from "https://deno.land/x/kysely_deno_postgres_dialect@v0.27.0/mod.ts";
const { Equals } = kysely;

Evaluates to true if the types T and U are equal.

definition: (<G>() => G extends T ? 1 : 2) extends <G>() => G extends U ? 1 : 2 ? true : false