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

Falsey

Falsy

@example
type Various = 'a' | 'b' | undefined | false;

  // Expect: "a" | "b"
  Exclude<Various, Falsy>;
type Falsey =
| false
| ""
| 0
| null
| undefined;

§Type

§
false | "" | 0 | null | undefined
[src]