# Functions
Bind generates a call wrapper with the second parameter's value fixed.
Comparator is a generic comparator for two values.
Compare returns -1, 0 or 1 if the first parameter is smaller, equal or greater than the second argument.
Cond is a conditional statement that returns the trueValue if the condition is true and the falseValue otherwise.
CopySlice copies the base slice into copied and returns the copy.
Filter iterates over elements of collection, returning an array of all elements predicate returns truthy for.
FilterByValue iterates over the map, returning a map of all elements predicate returns truthy for.
ForEach iterates over elements of collection and invokes iteratee for each element.
KeyBy transforms a slice or an array of structs to a map based on a pivot callback.
KeyOnlyBy transforms a slice or an array of structs to a map containing the keys based on a pivot callback.
Keys creates an array of the map keys.
Map iterates over elements of collection, applies the mapper function to each element and returns an array of modified TargetType elements.
Max returns the maximum value of the collection.
MergeMaps updates the base map with values from the update map and returns the extended base map.
Min returns the minimum value of the collection.
PanicOnErr panics of the seconds parameter is an error and returns the first parameter otherwise.
Reduce reduces collection to a value which is the accumulated result of running each element in collection through accumulator, where each successive invocation is supplied the return value of the previous.
ReduceProperty reduces collection to a value which is the accumulated result of running each element in collection through property resolver, which extracts a value to be reduced from the type, and then accumulator, where each successive invocation is supplied the return value of the previous.
Return1 returns the first parameter out of a set of variadic arguments.
Return2 returns the second parameter out of a set of variadic arguments.
Return3 returns the third parameter out of a set of variadic arguments.
Return4 returns the 4th parameter out of a set of variadic arguments..
Return5 returns the 5th parameter out of a set of variadic arguments.
Sum returns the sum of the collection.
Unique returns a set of unique elements from the collection.
Values creates an array of the map values.
Void returns a function that discards the return argument of the given function.