Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rimbu/sorted/common/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.4/sorted/common/index.ts";
const { compare } = SortedIndex;

Parameters

i1: number
i2: number

Returns

number