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

x/rimbu/sorted/map-custom/creators.ts>SortedMapCreators

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
interface SortedMapCreators
implements [RMapBase.Factory]<SortedMap.Types>
import { type SortedMapCreators } from "https://deno.land/x/rimbu@0.13.0/sorted/map-custom/creators.ts";

Methods

createContext<UK>(options?: { comp?: Comp<UK>; blockSizeBits?: number; }): SortedMap.Context<UK>

Returns a new SortedMap context instance based on the given options.

defaultContext<UK>(): SortedMap.Context<UK>

Returns the default context for SortedMaps.