Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/collections/comparators.ts>ascend

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
Latest
function ascend
import { ascend } from "https://deno.land/x/collections@0.12.1/comparators.ts";

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