Versions in this module Expand all Collapse all v1 v1.2.1 Oct 12, 2025 Changes in this version + func Diff[T comparable](list1, list2 []T) []T v1.2.0 Aug 1, 2025 Changes in this version + func CountBy[T any](collection []T, predicate func(item T) bool) (count int) + func Count[T comparable](collection []T) (count int) + func Each[T any](collection []T, iteratee func(item T, index int)) + func Filter[V any](collection []V, predicate func(item V, index int) bool) []V + func First[V any](args []V) *V + func GroupBy[T any, U comparable](collection []T, iteratee func(item T) U) map[U][]T + func Keys[K comparable, V any](in map[K]V) []K + func Map[T any, R any](collection []T, iteratee func(item T, index int) R) []R + func Max[T constraints.Ordered](collection []T) T + func Merge[K comparable, V any](maps ...map[K]V) map[K]V + func Min[T constraints.Ordered](collection []T) T + func Reverse[T any](collection []T) []T + func Shuffle[T any](collection []T) []T + func Split[T any](collection []T, size int) [][]T + func Sum[T constraints.Float | constraints.Integer | constraints.Complex](collection []T) T + func ToE[V any, T any](s []V) ([]T, error) + func To[V any, T any](s []V) []T + func Unique[T comparable](collection []T) []T + func Values[K comparable, V any](in map[K]V) []V