Get the max number of an array

This is really a ridiculous question, but I simply can’t find the right operator and the right documentation for it: how can I get the biggest number from an array of numbers?! [1,2,3,4].max is not the right one!
(Please also note me to the correct documentation page)
Many thanks

.maxItem is what you are looking for, and also, .maxIndex gets you the index of maxItem.

1 Like