ToEntries¶
func ToEntries[K comparable, V any](mapInstance map[K]V) [][2]any
ToEntries converts a map to a slice of key-value pairs. Order is non-deterministic due to map iteration order.
func ToEntries[K comparable, V any](mapInstance map[K]V) [][2]any
ToEntries converts a map to a slice of key-value pairs. Order is non-deterministic due to map iteration order.