fnutil

package
v1.30.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Filter added in v1.29.6

func Filter[T any](f func(T) bool, xs []T) []T

func IndexSet added in v1.29.5

func IndexSet[T comparable](xs []T) map[T]bool

func Intersection added in v1.29.5

func Intersection[T comparable](xs, ys []T) []T

func IsAll

func IsAll[T any](f func(T) bool, xs []T) bool

func Map

func Map[T any, R any](f func(T) R, xs []T) []R

func RemoveIf

func RemoveIf[T any](f func(T) bool, xs []T) []T

func Values

func Values[K comparable, V any](m map[K]V) []V

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL