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

Primitive

Primitive

@example
type Various = number | string | object;

   // Expect: object
  type Cleaned = Exclude<Various, Primitive>
type Primitive =
| string
| number
| bigint
| boolean
| symbol
| null
| undefined;

§Type

§
string | number | bigint | boolean | symbol | null | undefined
[src]