...
Source file
src/sort/sort_impl_120.go
Documentation: sort
1
2
3
4
5
6
7 package sort
8
9 func intsImpl(x []int) { Sort(IntSlice(x)) }
10 func float64sImpl(x []float64) { Sort(Float64Slice(x)) }
11 func stringsImpl(x []string) { Sort(StringSlice(x)) }
12
13 func intsAreSortedImpl(x []int) bool { return IsSorted(IntSlice(x)) }
14 func float64sAreSortedImpl(x []float64) bool { return IsSorted(Float64Slice(x)) }
15 func stringsAreSortedImpl(x []string) bool { return IsSorted(StringSlice(x)) }
16
View as plain text