commit | 3c2a20ff44662f7a703701df397255ecc63fae0b | [log] [tgz] |
---|---|---|
author | mattes <matthias.kadenbach@gmail.com> | Fri Mar 27 00:41:38 2015 +0100 |
committer | mattes <matthias.kadenbach@gmail.com> | Fri Mar 27 00:41:38 2015 +0100 |
tree | d7f778391a8b4f8f9ce08028c69502fa584ddcef | |
parent | 5e118789801496c93ba210d34ef1f2ce5a9173bd [diff] |
expose isSet
diff --git a/option.go b/option.go index 29e702c..d337a62 100644 --- a/option.go +++ b/option.go
@@ -155,3 +155,8 @@ func (option *Option) Value() interface{} { return option.value.Interface() } + +// IsSet returns true if option has been set +func (option *Option) IsSet() bool { + return option.isSet +}