Versions in this module Expand all Collapse all v0 v0.8.7 Jul 7, 2024 Changes in this version + func All[T any](arr []T, fn func(T) bool) bool + func Any[T any](arr []T, fn func(T) bool) bool + func Contains[T comparable](arr []T, pivot T) bool + func Count[T any](arr []T, fn func(T) bool) int + func Filter[T any](arr []T, fn func(T) bool) []T + func FindInt(slice []int, target int) bool + func FindString(slice []string, target string) bool + func FindUint(slice []uint, target uint) bool + func Find[T any](arr []T, fn func(T) bool) *T + func Flatten[T any](arr [][]T) []T + func GroupBy[T any, V comparable](arr []T, fn func(T) V) map[V][]T + func HasString(slice []string, str string) bool + func Index[T any](arr []T, fn func(T) bool) int + func IterToArray[U any, V any, T Iterable[U, V]](iter T) []V + func Map[T any, V any](arr []T, fn func(T) V) []V + func Reduce[T any, V any](arr []T, reduce func(V, T) V, v V) V + func RemoveString(slice []string, remove func(item string) bool) []string + func Sort[T any](arr []T, cmp func(T, T) bool) + type Iterable interface + Next func() bool + Value func() V