Is there a simple way of finding the maximum value in an array in FQL v10

Hi community,

Can someone help me find an elegant and low cost solution in FQL v10 to replace the MAX function in FQL v4 for an array of values? My observation of the Math.max() in-built function is that it may only be used to compare two values.

.reduce() is perfect for this.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.