Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

NonUndefined

NonUndefined

@example
// Expect: "string | null"
  SymmetricDifference<string | null | undefined>;
type NonUndefined<A> = A extends undefined ? never : A;

§Type Parameters

§Type

§
A extends undefined ? never : A
[src]