Skip to main content
Module

x/fun/string.ts>SortableString

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

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>