StructReduce
Run the provided udf against struct to reduce the values to a single output
Method Signature
Arguments
Argument | Type | Required | Description | Default |
---|---|---|---|---|
|
|
| The struct to reduce | |
|
|
| 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. | |
|
|
| The initial value of the accumulator |
Examples
Related
Last updated