Contains checks whether the tagOptions contains the specified option.
(option string)
| 353 | |
| 354 | // Contains checks whether the tagOptions contains the specified option. |
| 355 | func (o tagOptions) Contains(option string) bool { |
| 356 | for _, s := range o { |
| 357 | if s == option { |
| 358 | return true |
| 359 | } |
| 360 | } |
| 361 | return false |
| 362 | } |
no outgoing calls