Skip to main content
Module

x/rimbu/ordered/map-custom/index.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.14.0/ordered/map-custom/index.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.