Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/rimbu/collection-types/map-custom/index.ts>RMapBase.ContextBase

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
class RMapBase.ContextBase
implements [RMapBase.Context]<UK, Tp>
Abstract
import { RMapBase } from "https://deno.land/x/rimbu@0.13.1/collection-types/map-custom/index.ts";
const { ContextBase } = RMapBase;

Properties

abstract
readonly
_empty: (Tp & KeyValue<any, any>)["normal"]
_fixedKeyType: any
readonly
_types: Tp
abstract
builder: <K extends UK, V>() => WithKeyValue<Tp, K, V>["builder"]
readonly
empty: <K extends UK, V>() => WithKeyValue<Tp, K, V>["normal"]
readonly
from: any
readonly
merge: any
readonly
mergeAll: any
readonly
mergeAllWith: any
readonly
mergeWith: any
readonly
of: <K extends UK, V>(...values: ArrayNonEmpty<readonly [K, V]>) => K extends UK ? WithKeyValue<Tp, K, V>["nonEmpty"] : never
readonly
reducer: <K extends UK, V>(source?: StreamSource<readonly [K, V]>) => Reducer<readonly [K, V], WithKeyValue<Tp, K, V>["normal"]>
abstract
readonly
typeTag: string

Methods

abstract
isNonEmptyInstance<K, V>(source: any): source is WithKeyValue<Tp, K, V>["nonEmpty"]
abstract
isValidKey(key: any): key is UK