aicra/response/arguments.go

8 lines
146 B
Go

package response
// Checks whether a key exists in the arguments
func (i Arguments) Has(key string) bool {
_, exists := i[key]
return exists
}