aicra/response/arguments.go

8 lines
150 B
Go
Raw Normal View History

2018-07-08 22:15:29 +00:00
package response
2018-06-03 12:48:10 +00:00
2018-07-08 23:34:21 +00:00
// Has checks whether a key exists in the arguments
2018-06-03 12:48:10 +00:00
func (i Arguments) Has(key string) bool {
_, exists := i[key]
return exists
}