StructReduce()
Iterates over every entry of the given struct and calls the closure with every key/value.
This function will reduce the struct to a single value and will return this value.
StructReduce( struct=struct, closure=function, initialValue=object );
Returns: any
Examples
Non-Member Function
See also
- Collections
- Structures
- struct.reduce()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)