Skip to main content
Module

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