Documentation ¶
Index ¶
- func All(vs []string, f func(string) bool) bool
- func Any(vs []string, f func(string) bool) bool
- func Filter(vs []string, f func(string) bool) []string
- func Include(vs []string, t string) bool
- func Index(vs []string, t string) int
- func Map(vs []string, f func(string) string) []string
- func TestCollectionFunctions()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Filter ¶
Filter returns a new slice containing all strings in the slice that satisfy the predicate `f`.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.