This commit is contained in:
Adrien Marquès 2018-06-03 14:48:10 +02:00
parent d7bc5a6685
commit aef8d74bb9
1 changed files with 7 additions and 0 deletions

7
implement/arguments.go Normal file
View File

@ -0,0 +1,7 @@
package implement
// Checks whether a key exists in the arguments
func (i Arguments) Has(key string) bool {
_, exists := i[key]
return exists
}