Skip to main content
Module

x/fun/mod.ts>boolean.SortableBoolean

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

The canonical implementation of Sortable for boolean. It contains the method lt, lte, equals, gte, gt, min, max, clamp, between, and compare.

type

Sortable<boolean>