Documentation ¶
Index ¶
- func AllSlice[T any](slice []T, predicate func(T) bool) bool
- func AnySlice[T any](slice []T, predicate func(T) bool) bool
- func FilterSlice[T any](slice []T, predicate func(T) bool) []T
- func FindFirstSlice[T any](slice []T, predicate func(T) bool) *T
- func FlatMapSlice[T any, R any](slice []T, mapper func(T) []R) []R
- func ForEachSlice[T any](slice []T, consumer func(T))
- func MapSlice[T any, R any](slice []T, mapper func(T) R) []R
- func MkLink(source, target string) error
- func NoneSlice[T any](slice []T, predicate func(T) bool) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterSlice ¶
func FindFirstSlice ¶
func FlatMapSlice ¶
func ForEachSlice ¶
func ForEachSlice[T any](slice []T, consumer func(T))
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.