HasQuery returns if a query with the key specified exists with one or more values.
(key string)
| 119 | // HasQuery returns if a query with the key specified exists with one or |
| 120 | // more values. |
| 121 | func (e *Encoder) HasQuery(key string) bool { |
| 122 | return len(e.query.Get(key)) != 0 |
| 123 | } |