Prism · Sugar

$min

The smallest number of a list. Shorthand for a $reduce that keeps the smaller of two.

The source
{ temps: [22, 18, 25, 14, 27, 19] }
The config
{ $min: { over: { $ref: '$.temps' } } }
What comes out
14
Output matches the expected value

Runs in this page on the installed package. The input and the expected output are defined by the example.