Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MergeRamp<K, V, KK, VK>

Type parameters

  • K

  • V

  • KK: keyof V

  • VK: keyof V

Hierarchy

Index

Constructors

constructor

  • new MergeRamp<K, V, KK, VK>(key: K, keyFn: KeyFn<V, KK>, valueField: VK, valueFn?: ValueFn<V, V[VK]>): MergeRamp<K, V, KK, VK>

Properties

Private #keyFn

#keyFn: KeyFn<V, KK>

The actual key being ramped over. The aggregation key is typically a constant. Should return a string, number, or Symbol.

Private #valueField

#valueField: VK

Private #valueFn

#valueFn: ValueFn<V, V[VK]>

Readonly key

key: K

Methods

add

  • add(item: V): void

value

  • value(): V[]

Generated using TypeDoc