Get returns the value of parameter name and whether or not it was present in ps.
(name string)
| 140 | |
| 141 | // Get returns the value of parameter name and whether or not it was present in ps. |
| 142 | func (ps *ParameterSet) Get(name string) (string, bool) { |
| 143 | value, ok := ps.values[ps.normalize(name)] |
| 144 | return value, ok |
| 145 | } |
| 146 | |
| 147 | // Has returns whether or not parameter name is present in ps. |
| 148 | func (ps *ParameterSet) Has(name string) bool { |