package moremaps

Import Path
	golang.org/x/tools/internal/moremaps (on go.dev)

Dependency Relation
	imports 4 packages, and imported by one package

Involved Source Files Package moremaps contains more functions for working with maps.
Package-Level Type Names (only one, which is exported)
/* sort exporteds by: | */
Type Parameters: K: comparable V: any Entry is a key-value pair obtained from a map. Key K Value V func Entries[M, K, V](m M) []Entry[K, V] func FromEntries[K, V](entries []Entry[K, V]) map[K]V
Package-Level Functions (total 10, all are exported)
Type Parameters: K: comparable V: any Arbitrary returns an arbitrary (key, value) entry from the map and ok is true, if the map is not empty. Otherwise, it returns zero values for K and V, and false.
Type Parameters: M: ~map[K]V K: comparable V: any Delete is like delete(m, k) but reports whether deletion occurred.
Type Parameters: M: ~map[K]V K: comparable V: any Entries returns a new unordered array of the entries of a map.
Type Parameters: K: comparable V: any FromEntries returns a new map into which the entries have been inserted in order.
Type Parameters: K: comparable V: any Group returns a new non-nil map containing the elements of s grouped by the keys returned from the key func.
Type Parameters: M: ~map[K]V K: comparable V: any KeySlice returns the keys of the map M, like slices.Collect(maps.Keys(m)).
Type Parameters: K: comparable V1: any V2: any SameKeys reports whether x and y have equal sets of keys.
Type Parameters: M: ~map[K]V K: cmp.Ordered V: any Sorted returns an iterator over the entries of m in key order.
Type Parameters: M: ~map[K]V K: comparable V: any SortedFunc returns an iterator over the entries of m in the key order determined by cmp.
Type Parameters: M: ~map[K]V K: comparable V: any ValueSlice returns the values of the map M, like slices.Collect(maps.Values(m)).