Skip to main content
Module

x/fun/mod.ts>string.SortableString

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

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

type

Sortable<string>