Skip to main content
Module

x/ts_toolbelt_unofficial/mod.ts>U.NonNullable

👷 TypeScript's largest type utility library, now on Deno
Latest
type alias U.NonNullable
import { type U } from "https://deno.land/x/ts_toolbelt_unofficial@1.1.0/mod.ts";
const { NonNullable } = U;

Remove undefined & null out of U

Examples

Example 1

Type Parameters

U extends any
definition: Exclude<U, undefined | null>