Documentation ¶
Index ¶
- func Filter[T any](f func(T) bool, xs []T) []T
- func IndexSet[T comparable](xs []T) map[T]bool
- func Intersection[T comparable](xs, ys []T) []T
- func IsAll[T any](f func(T) bool, xs []T) bool
- func Map[T any, R any](f func(T) R, xs []T) []R
- func RemoveIf[T any](f func(T) bool, xs []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 IndexSet ¶ added in v1.29.5
func IndexSet[T comparable](xs []T) map[T]bool
func Intersection ¶ added in v1.29.5
func Intersection[T comparable](xs, ys []T) []T
func Values ¶
func Values[K comparable, V any](m map[K]V) []V
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.