Skip to main content
Module

std/data_structures/mod.ts>descend

The Deno Standard Library
Latest
function descend
Re-export
import { descend } from "https://deno.land/std@0.224.0/data_structures/mod.ts";

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

Returns

-1 | 0 | 1