Prism · Sugar
$max
The largest number of a list. Shorthand for a $reduce that keeps the larger of two.
{ scores: [42, 67, 89, 33, 95, 78] }{ $max: { over: { $ref: '$.scores' } } }95
Runs in this page on the installed package. The input and the expected output are defined by the example.