ordered

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapKeys

func MapKeys[M ~map[K]V, K cmp.Ordered, V any](m M) []K

MapKeys returns the sorted keys of a map whose key type is ordered. This provides a deterministic order for iteration over maps.

Types

This section is empty.

Jump to

Keyboard shortcuts

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