Documentation ¶
Index ¶
- func IsSorted[T constraints.Ordered](s []T) bool
- func IsSortedCustom[T any](s []T, less func(i, j T) bool) bool
- func IsSortedReverse[T constraints.Ordered](s []T) bool
- func Sort[T constraints.Ordered](s []T, reverse bool)
- func SortCustom[T any](s []T, less func(i, j T) bool)
- func SortReverse[T constraints.Ordered](s []T)
- func SortStable[T constraints.Ordered](s []T)
- func SortStableCustom[T any](s []T, less func(i, j T) bool)
- func SortStableReverse[T constraints.Ordered](s []T)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsSorted ¶
func IsSorted[T constraints.Ordered](s []T) bool
func IsSortedCustom ¶
func IsSortedReverse ¶
func IsSortedReverse[T constraints.Ordered](s []T) bool
func Sort ¶
func Sort[T constraints.Ordered](s []T, reverse bool)
func SortCustom ¶
func SortReverse ¶
func SortReverse[T constraints.Ordered](s []T)
func SortStable ¶
func SortStable[T constraints.Ordered](s []T)
func SortStableCustom ¶
func SortStableReverse ¶
func SortStableReverse[T constraints.Ordered](s []T)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.