Pick¶
func Pick[K comparable, V any](mapInstance map[K]V, keys []K) map[K]V
Pick creates a new map containing only the specified keys. Keys that don't exist in the original map are ignored.
func Pick[K comparable, V any](mapInstance map[K]V, keys []K) map[K]V
Pick creates a new map containing only the specified keys. Keys that don't exist in the original map are ignored.