package
1.3.9
Repository: https://github.com/ochom/gutils.git
Documentation: pkg.go.dev

# Functions

Chunk will take a slice of any kind and a chunk size and return a slice of slices.
Filter returns a new array with all elements that pass the test implemented by the provided function.
Find returns the value of the first element in the provided array that satisfies the provided testing function.
ForEach executes a provided function once for each array element.
Map returns a new array with the results of calling a provided function on every element in the provided array.
MapIndex returns a new array with the results of calling a provided function on every element in the provided array.
Reduce applies a function against an accumulator and each element in the array (from left to right) to reduce it to a single value.