Documentation
¶
Index ¶
- func ContainsMatch[T any](items []T, predicate func(item T) bool) bool
- func Filter[T any](ss []T, predicate func(item T, i int) bool) []T
- func Join[T any](elements []T, separator string) string
- func JoinWithAnd[T any](elements []T) string
- func Map[T any, U any](ss []T, mutator func(item T, i int) U) []U
- func RemoveEmptyString(ss []string) []string
- func Unique[T comparable](ss []T) []T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsMatch ¶
func Join ¶
Join concatenates elements of a slice into a single string using the specified separator.
func JoinWithAnd ¶
func RemoveEmptyString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.