Skip to main content
Module

std/data_structures/mod.ts>ascend

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

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

Returns

-1 | 0 | 1