nginx-proxy-manager/backend/internal/util/maps.go

10 lines
189 B
Go
Raw Normal View History

package util
// MapContainsKey is fairly self explanatory
func MapContainsKey(dict map[string]interface{}, key string) bool {
if _, ok := dict[key]; ok {
return true
}
return false
}