package
Version:
v0.16.7
Opens a new window with list of versions in this module.
Published: Jul 15, 2024
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Filter[T any](arr []T, fn func(T) bool) []T
Filter a function that takes an array and filters it by callback
func MapValues[T interface{}](values []T, mapFunc func(T) T) []T
MapValues a function to iterate through an array of elements
and apply a callback to each element
MaxInt function to find the maximum number in an array
MinInt function to find the minimum number in an array
Source Files
¶
Click to show internal directories.
Click to hide internal directories.