func sort.IsSorted
6 uses
sort (current package)
sort.go#L269: func IsSorted(data Interface) bool {
sort.go#L338: func IntsAreSorted(x []int) bool { return IsSorted(IntSlice(x)) }
sort.go#L342: func Float64sAreSorted(x []float64) bool { return IsSorted(Float64Slice(x)) }
sort.go#L345: func StringsAreSorted(x []string) bool { return IsSorted(StringSlice(x)) }
github.com/prometheus/client_golang/prometheus
registry.go#L884: if !sort.IsSorted(labelPairSorter(dtoMetric.Label)) {
go/ast
commentmap.go#L26: if orderedList := byPos(list); !sort.IsSorted(orderedList) {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |