Determines if the given array is sorted in ascending order. This helper function checks if the first element of the array is less than the last element, indicating an ascending order. It returns `false` if the array has fewer than two elements. # Parameters - `arr`: A slice of the array to check. # Returns A `bool` indicating whether the array is sorted in ascending order.
(arr: &[T])
source not stored for this graph (policy: none)