func sort.SliceIsSorted
3 uses
sort (current package)
slice.go#L37: func SliceIsSorted(x interface{}, less func(i, j int) bool) bool {
github.com/google/go-cmp/cmp/cmpopts
sort.go#L52: ok1 := sort.SliceIsSorted(x, func(i, j int) bool { return ss.less(vx, i, j) })
sort.go#L53: ok2 := sort.SliceIsSorted(y, func(i, j int) bool { return ss.less(vy, i, j) })
 |
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. |