Documentation ¶
Index ¶
- func Contains[T comparable](list []T, obj T) (bool, error)
- func ContainsAll[T comparable](list []T, objs []T) (bool, error)
- func ContainsAny[T comparable](list []T, objs []T) (bool, error)
- func Filter[T any](list []T, f func(T) bool) ([]T, error)
- func FilterAll[T comparable](list []T, objs []T) ([]T, error)
- func Join[T any](list []T, f func(item T) string, delimeter string) string
- func Map[S, T any](list []S, f func(item S) T) []T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Contains ¶
func Contains[T comparable](list []T, obj T) (bool, error)
func ContainsAll ¶
func ContainsAll[T comparable](list []T, objs []T) (bool, error)
func ContainsAny ¶
func ContainsAny[T comparable](list []T, objs []T) (bool, error)
func FilterAll ¶
func FilterAll[T comparable](list []T, objs []T) ([]T, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.