Module boolean

Augmentations for booleans.

Remarks

Importing this module

This module's augmentations can be applied by using the following import:

import "@neotype/extensions/boolean.js";

Comparing booleans

Booleans implement Eq and Ord.

  • Two booleans are equal if they are both false or both true.
  • When ordered, false always compares as less than true.

Index

Interfaces

Generated using TypeDoc