Ascending/Descending

Apr 19 2021 7:33 PM
Is there an elegant way to determine if the numbers in a list are all ascending/descending in value without asking if (5 < 4) && (4< 3) etc?

Answers (1)