Skip to content

Literal

A value literalTypeGuard can compare against.

Import:

import type { Literal } from '@mnaoumov/typescript-lib/type-guards';

Signature:

export type Literal

Signature:

type Literal = bigint | boolean | null | number | string | symbol | undefined

Type: bigint | boolean | null | number | string | symbol | undefined


Links to this page: