Documentation ¶
Index ¶
- func Contains[T comparable](l []T, target T) bool
- func Difference[T comparable](a, b []T) []T
- func Join[T constraints.Ordered](l []T, sep string) string
- func Keys[K comparable, V any](m map[K]V) []K
- func MaxCount[T comparable](a, b []T) int
- func Sum[T constraints.Integer | constraints.Float](l []T) T
- func Unique[T comparable](l []T) []T
- func Values[K comparable, V any](m map[K]V) []V
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MaxCount ¶
func MaxCount[T comparable](a, b []T) int
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.