diff --git a/implement/arguments.go b/implement/arguments.go new file mode 100644 index 0000000..d8ad036 --- /dev/null +++ b/implement/arguments.go @@ -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 +}