Versions in this module Expand all Collapse all v0 v0.4.0 Mar 2, 2024 v0.3.0 Jul 31, 2023 Changes in this version + func Generate(from, to int, fn func(t int) U) []U v0.2.1 Jul 3, 2023 Changes in this version + func All(ts []T, predicate func(t T) bool) bool + func Filter(ts []T, fn func(t T) bool) []T + func FindFirst(ts []T, fn func(t T) bool) (returnedT T, found bool) + func FindLast(ts []T, fn func(t T) bool) (returnedT T, found bool) + func Map(ts []T, fn func(t T) U) []U + func MapWithError(ts []T, fn func(t T) (U, error)) ([]U, error)