Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ReduceFunction<Key, Value>

A function to reduce mapped values.

Type parameters

  • Key

    Type of the key

  • Value

    Type of the value

Hierarchy

  • ReduceFunction

Callable

  • __call(key: Key, values: Value[]): Value | Value[] | any
  • A function to reduce mapped values.

    Parameters

    • key: Key

      The key to reduce

    • values: Value[]

      The values to reduce

    Returns Value | Value[] | any

Generated using TypeDoc