Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/conditional_type_checks/mod.ts>IsNullable

Types for testing TypeScript types.
Latest
type alias IsNullable
import { type IsNullable } from "https://deno.land/x/conditional_type_checks@1.0.6/mod.ts";

Checks if type T is possibly null or undefined.

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