Has¶
func Has[K comparable, V any](mapInstance map[K]V, key K) bool
Has checks if a key exists in the map. This is equivalent to the two-value form of map lookup but more expressive.
func Has[K comparable, V any](mapInstance map[K]V, key K) bool
Has checks if a key exists in the map. This is equivalent to the two-value form of map lookup but more expressive.