Type alias ReduceFunction

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

Type declaration

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

      Returns

      reduced 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

Generated using TypeDoc