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

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

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

Parameters

index: number

Returns

number