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

x/rimbu/ordered/map-custom/interface/creators.ts>OrderedSortedMapCreators

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

Methods

createContext<UK>(options?: { listContext?: List.Context; mapContext?: SortedMap.Context<UK>; }): OrderedSortedMap.Context<UK>

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

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

Returns the default context for OrderedSortedMaps.