Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/willow/mod.browser.ts>compareKeys

Exploring Willow in the most efficient and sound programming language
Go to Latest
function compareKeys
Re-export
import { compareKeys } from "https://deno.land/x/willow@0.2.1/mod.browser.ts";

The ordering on keys. Lexicographically compares the KeyParts according to compareTwoKeyParts.

Returns

number

A negative number if a is less than b, zero if a equals b, a positive number if a is greater than b.