Skip to main content
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@0.13.5/sorted/common/sorted-index.ts";
const { compare } = SortedIndex;

Parameters

i1: number
i2: number

Returns

number