Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MaxSlice ¶
func MaxSlice[T constraints.Ordered](slice []T) T
MaxSlice returns the largest element in a slice-like container.
func MinSlice ¶
func MinSlice[T constraints.Ordered](slice []T) T
MinSlice returns the smallest element in a slice-like container.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.