Delete removes all items from the set.
(items ...string)
| 54 | |
| 55 | // Delete removes all items from the set. |
| 56 | func (s String) Delete(items ...string) { |
| 57 | for _, item := range items { |
| 58 | delete(s, item) |
| 59 | } |
| 60 | } |
| 61 | |
| 62 | // Has returns true if and only if item is contained in the set. |
| 63 | func (s String) Has(item string) bool { |