Versions in this module Expand all Collapse all v1 v1.0.0 Jan 30, 2026 Changes in this version + func All[T any](s []T, predicate func(T) bool) bool + func Any[T any](s []T, predicate func(T) bool) bool + func Contains[T comparable](s []T, v T) bool + func Filter[T any](s []T, keep func(T) bool) []T + func Find[T any](s []T, predicate func(T) bool) (T, bool) + func Map[T, U any](s []T, f func(T) U) []U + func Partition[T any](s []T, predicate func(T) bool) ([]T, []T) + func Reduce[T, U any](s []T, initial U, reduce func(U, T) U) U