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

x/rimbu/sorted/common/sorted-index.ts>SortedIndex.compare

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
function SortedIndex.compare
import { SortedIndex } from "https://deno.land/x/rimbu@1.0.2/sorted/common/sorted-index.ts";
const { compare } = SortedIndex;

Parameters

i1: number
i2: number

Returns

number