StructReduce
Last updated
Was this helpful?
Last updated
Was this helpful?
Run the provided udf against struct to reduce the values to a single output
struct
struct
true
The struct to reduce
callback
function
true
The function to invoke for each entry in the struct. The function will be passed 4 arguments: the accumulator, they entry key, the current index, and the original struct. The function should return the new accumulator value.
initialValue
any
false
The initial value of the accumulator