How-to · Lists
Get the largest or smallest value in a list
Softanza
Q([ 3, 9, 2 ]).Max() #--> 9 Q([ 3, 9, 2 ]).Min() #--> 2
Output
9 2
ran: printed what the recipe promises
run on 2026-10-02 22:33 inside the library at commit 0e72e2e2c; the expression carrying the promise was printed for the run · The recipe on GitHub(opens in a new tab)
The methods
stzListOfNumbers.Max · stzListOfNumbers.Min
See also
Words for this task: max, largest, biggest, highest, maximum, min, smallest, lowest, minimum

