Syntax
isrsorted(array)
Description
The isrsorted() function checks the contents of the named array is sorted in descending order. A boolean of true is returned if it is, otherwise false.
Example
a=[6,5,4,3,2,1] println(isrsorted(a)) b=shuffle(a) println(isrsorted(b)) true false