IsSorted

Verifica se o slice já está ordenado em ordem crescente.


slices.IsSorted([]int{1, 2, 3})

                        
introduction.go