Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/data_structures/comparators.ts

The Deno Standard Library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
import * as mod from "https://deno.land/std@0.222.1/data_structures/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.