Skip to main content
Go to Latest
function ascend
import { ascend } from "https://deno.land/std@0.210.0/data_structures/comparators.ts";

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

Returns

-1 | 0 | 1