Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
function descend
import { descend } from "https://deno.land/std@0.223.0/data_structures/comparators.ts";

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

Returns

-1 | 0 | 1