maps

package
v0.0.74 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: CC0-1.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Entries added in v0.0.68

func Entries[M ~map[K]V, K comparable, V any](m M) []tuple.Tuple[K, V]

func FilterValues added in v0.0.67

func FilterValues[M ~map[K]V, K comparable, V any](m M, vp funcs.Predicate[V]) M

func MapKeys

func MapKeys[M ~map[K]V, K comparable, V any, K1 comparable](m M, mapper funcs.Mapper[K, K1]) map[K1]V

func MapValues

func MapValues[M ~map[K]V, K comparable, V any, V1 any](m M, mapper funcs.Mapper[V, V1]) map[K]V1

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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