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@1.0.0/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.