package
Version:
v1.2.7
Opens a new window with list of versions in this module.
Published: Jan 20, 2023
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 15
Opens a new window with list of known importers.
Documentation
¶
func All[T any](source []T, predicate func(T) bool) bool
Determines whether all elements of a slice satisfy a condition.
func Any[T any](source []T, predicate func(T) bool) bool
Determines whether any element of a slice satisfies a condition.
func FindAll[T any](source []T, predicate func(T) bool) []T
Retrieves all the elements that match the conditions defined by the specified predicate.
func Map[T, V any](source []T, mapper func(T) V) []V
Projects each element of a slice into a new form.
func PointersOf(v interface{}) interface{}
PointersOf Returnes a pointer of
Source Files
¶
Click to show internal directories.
Click to hide internal directories.