Omit¶
func Omit[K comparable, V any](mapInstance map[K]V, keys []K) map[K]V
Omit creates a new map excluding the specified keys. This is the opposite of Pick.
func Omit[K comparable, V any](mapInstance map[K]V, keys []K) map[K]V
Omit creates a new map excluding the specified keys. This is the opposite of Pick.