Skip to main content
Module

x/fun/mod.ts>number.SortableNumber

A collection of algebraic data types, lenses, and schemables based on a light weight higher kinded type implementation. Written for deno.
Latest
variable number.SortableNumber
import { number } from "https://deno.land/x/fun@v2.0.0/mod.ts";
const { SortableNumber } = number;

The canonical implementation of Sortable for number. It contains the method compare.

type

Sortable<number>