Documentation
¶
Index ¶
- func IsElementsEquals[T comparable](a, b []T) bool
- func Map[T any, R any](values []T, fn func(index int, value T) R) (results []R)
- func MapWithErr[T any, R any](values []T, fn func(index int, value T) (R, error)) (results []R, err error)
- func Reduce[T any, R any](values []T, initial R, fn func(carry R, index int, value T) R) R
- func ReduceWithErr[T any, R any](values []T, initial R, fn func(carry R, index int, value T) (R, error)) (R, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsElementsEquals ¶
func IsElementsEquals[T comparable](a, b []T) bool
Will check is elements of 2 slice is equals with ignored order
func MapWithErr ¶ added in v0.0.30
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.