Skip to main content
Module

x/collections/comparators.ts

Collection data structures that are not standard built-in objects in JavaScript. This includes a vector (double-ended queue), binary heap (priority queue), binary search tree, and a red black tree.
Very Popular
Go to Latest
import * as collections from "https://deno.land/x/collections@v0.6.1/comparators.ts";

Functions

Compares its two arguments for ascending order using JavaScript's built in comparison operators.

Compares its two arguments for descending order using JavaScript's built in comparison operators.