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

x/rimbu/ordered/map-custom/implementation/context.ts>OrderedMapContextImpl

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
class OrderedMapContextImpl
implements [OrderedMapBase.Context]<UK, Tp>
import { OrderedMapContextImpl } from "https://deno.land/x/rimbu@0.14.0/ordered/map-custom/implementation/context.ts";

Constructors

new
OrderedMapContextImpl(listContext: List.Context, mapContext: WithKeyValue<Tp, UK, any>["sourceContext"])

Properties

readonly
_empty: WithKeyValue<Tp, any, any>["normal"]
readonly
builder: <K extends UK, V>() => WithKeyValue<Tp, K, V>["builder"]
readonly
typeTag: string

Methods

createBuilder<K extends UK, V>(source?: any): any
createNonEmpty<K extends UK, V>(order: List.NonEmpty<K>, sourceMap: any): any
isNonEmptyInstance(source: any): source is any
isValidKey(key: any): key is UK