Module cmp

Functionality for ordering and comparison.

Remarks

This module provides utilities for implementing equivalance relations and total orders, as well as ordering and comparing values.

Importing from this module

It is recommended to import items from this module individually:

import { Eq, Ord, Ordering, Reverse, clamp, cmp, eq, ge, gt, icmp, icmpBy,
ieq, ieqBy, le, lt, max, min, ne } from "@neotype/prelude/cmp.js";

Implementing equivalence relations and total orders

Index

Namespaces

Classes

Interfaces

Type Aliases

Functions

Generated using TypeDoc