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

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

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

Methods

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

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

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

Returns the default context for OrderedHashMaps.