Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Keys ¶
func Keys[Map ~map[K]V, K comparable, V any](m Map) []K
Keys returns all keys of the given map. Unlike maps.Keys, it does not return iter.Seq[K] but return []K. Keys creates a new slice of []K which means it does not suite for large map input.
func Values ¶
func Values[Map ~map[K]V, K comparable, V any](m Map) []V
Values returns all values of the given map. Unlike maps.Values, it does not return iter.Seq[V] but return []V. Values creates a new slice of []V which means it does not suite for large map input.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.