maps Package maps defines various functions useful with maps of any type. Index func Keys[M ~map[K]V, K comparable, V any](m M) []Kfunc Values[M ~map[K]V, K comparable, V any](m M) []V Functions func Keys 1func Keys[M ~map[K]V, K comparable, V any](m M) []K Keys returns all keys in m. func Values 1func Values[M ~map[K]V, K comparable, V any](m M) []V Values returns all values in m. On This Page