Documentation
¶
Index ¶
- func Keys[Key comparable, Value any](m map[Key]Value) []Key
- func KeysAndValues[Key comparable, Value any](m map[Key]Value) []tuple.Value2[Key, Value]
- func KeysSorted[Key constraints.Ordered, Value any](m map[Key]Value) []Key
- func KeysSortedByValue[Key comparable, Value any](m map[Key]Value, less func(v1, v2 Value) bool) []Key
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Keys ¶
func Keys[Key comparable, Value any](m map[Key]Value) []Key
func KeysAndValues ¶
func KeysAndValues[Key comparable, Value any](m map[Key]Value) []tuple.Value2[Key, Value]
func KeysSorted ¶
func KeysSorted[Key constraints.Ordered, Value any](m map[Key]Value) []Key
func KeysSortedByValue ¶
func KeysSortedByValue[Key comparable, Value any](m map[Key]Value, less func(v1, v2 Value) bool) []Key
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.