Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Sort

import type { Sort } from "https://raw.githubusercontent.com/baetheus/fun/main/sortable.ts";

The Sort function takes to values of the same type and returns an ordering, indicating whether first is less than, equal to, or greater than `second. See Ordering for the order.

type Sort<A> = (first: A, second: A) => Ordering;

§Type Parameters

§Type

§
(first: A, second: A) => Ordering
[src]