aicra/response/arguments.go

8 lines
150 B
Go

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