Documentation ¶
Index ¶
- func Each[K comparable, V any](m map[K]V, fn func(K, V))
- func EachErr[K comparable, V any](m map[K]V, fn func(K, V) error) error
- func Keys[K comparable, V any](m map[K]V) []K
- func KeysFiltered[K comparable, V any](m map[K]V, fn func(K) bool) []K
- func Values[K comparable, V any](m map[K]V) []V
- func ValuesFiltered[K comparable, V any](m map[K]V, fn func(V) bool) []V
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Each ¶
func Each[K comparable, V any](m map[K]V, fn func(K, V))
func Keys ¶
func Keys[K comparable, V any](m map[K]V) []K
func KeysFiltered ¶
func KeysFiltered[K comparable, V any](m map[K]V, fn func(K) bool) []K
func Values ¶
func Values[K comparable, V any](m map[K]V) []V
func ValuesFiltered ¶
func ValuesFiltered[K comparable, V any](m map[K]V, fn func(V) bool) []V
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.