import { RMapBase } from "https://deno.land/x/rimbu@0.13.0/collection-types/map-custom/index.ts";
const { ContextBase } = RMapBase;
Type Parameters
optional
Tp extends RMapBase.Types = RMapBase.TypesProperties
readonly
_types: Tpabstract
builder: <K extends UK, V>() => WithKeyValue<Tp, K, V>["builder"]readonly
empty: <K extends UK, V>() => WithKeyValue<Tp, K, V>["normal"]readonly
of: <K extends UK, V>(...values: ArrayNonEmpty<readonly [K, V]>) => K extends UK ? WithKeyValue<Tp, K, V>["nonEmpty"] : neverreadonly
reducer: <K extends UK, V>(source?: StreamSource<readonly [K, V]>) => Reducer<readonly [K, V], WithKeyValue<Tp, K, V>["normal"]>Methods
abstract
isNonEmptyInstance<K, V>(source: any): source is WithKeyValue<Tp, K, V>["nonEmpty"]abstract
isValidKey(key: any): key is UK