package
Version:
v0.0.3
Opens a new window with list of versions in this module.
Published: Oct 16, 2023
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
-
func Filter[T any](slice []T, f func(T) bool) []T
-
func FilterErr[T any](slice []T, f func(T) (bool, error)) ([]T, error)
-
func Map[T, V any](slice []T, f func(T) V) []V
-
func MapErr[T, V any](slice []T, f func(T) (V, error)) ([]V, error)
func Filter[T any](slice []T, f func(T) bool) []T
func Map[T, V any](slice []T, f func(T) V) []V
func MapErr[T, V any](slice []T, f func(T) (V, error)) ([]V, error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.