Forum Discussion
ivicakoteski
2 years agoNew Contributor III
Hi Max ,
You can try the reduce function in the mapper snap. You'll need to set {} (an empty object) as the initialElement and apply the extend function to put all array elements into the initialized empty object.
$ranges.reduce((accum, currentValue) => accum.extend(currentValue), {})
Hope this helps!
BR.