Skip to main content
type alias IsNullable
import { type IsNullable } from "https://deno.land/x/conditional_type_checks@1.0.5/mod.ts";

Checks if type T is possibly null or undefined.

definition: Extract<T, null | undefined> extends never ? false : true