Skip to main content
Module

std/testing/types.ts>IsNullable

Deno standard library
Go to Latest
type alias IsNullable
import { type IsNullable } from "https://deno.land/std@0.202.0/testing/types.ts";

Checks if type T is possibly null or undefined.

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