Documentation ¶
Overview ¶
package algorithms provides generified map/filter/reduce functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Equal ¶
func Equal[T comparable](first, second T, rest ...T) bool
Equal returns true if all elements are equal.
func Filter ¶
Filter returns a new slice containing all elements of the slice that satisfy the predicate function.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.