Copy¶
func Copy[K comparable, V any](mapInstance map[K]V) map[K]V
Copy takes a map with keys K and values V and returns a copy.
Deprecated: prefer maps.Clone(mapInstance) from the standard library.
func Copy[K comparable, V any](mapInstance map[K]V) map[K]V
Copy takes a map with keys K and values V and returns a copy.
Deprecated: prefer maps.Clone(mapInstance) from the standard library.