Documentation ¶
Index ¶
- func Clone[T any](slice []T) []T
- func Concat[T any](slices ...[]T) []T
- func Filter[T any](elements []T, filterFn func(T) bool) []T
- func FindFirstIndex[T any](elements []T, predicate func(T) bool) int
- func Generate[T any](count uint, generator func() T) []T
- func InsertAt[T any](elements []T, element T, index uint) []T
- func Map[TIn any, TOut any](elements []TIn, mapper func(TIn) TOut) []TOut
- func Remove[T any](elements []T, index int) []T
- func Shuffle[T any](elements []T) []T
- type Cycler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindFirstIndex ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.