TypeScript Boolean Literal Type

Syntax

type Bools = true | false

JavaScript

  • [JavaScript Booleans](JavaScript Booleans)