Module

std/data_structures/mod.ts>ascend

The Deno Standard Library
Go to Latest
function ascend
import { ascend } from "https://dotland.deno.dev/std@0.223.0/data_structures/mod.ts";

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

Returns

-1 | 0 | 1
import ascend
import { ascend } from "https://dotland.deno.dev/std@0.223.0/data_structures/mod.ts";