From aef8d74bb990ffedca9f4e46ec6c67116d6134c2 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Sun, 3 Jun 2018 14:48:10 +0200 Subject: [PATCH] minmod --- implement/arguments.go | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 implement/arguments.go 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 +}