Type alias ReduceFunction

ReduceFunction: ((acc, v, k, x) => any)

Type declaration

    • (acc, v, k, x): any
    • Handle reduction of multiple values into a single value.

      Parameters

      • acc: any

        accumulator (temporary result)

      • v: any

        value in object

      • k: string

        key of value in object

      • x: object

        object containing the value

      Returns any

      reduced value

Generated using TypeDoc