Skip to main content
Module

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