Has returns true if the given field is present in the set.
(field field)
| 105 | |
| 106 | // Has returns true if the given field is present in the set. |
| 107 | func (s fieldSet) Has(field field) bool { |
| 108 | return s&field.AsSet() != 0 |
| 109 | } |
| 110 | |
| 111 | // HasAll returns true if the field set contains all of the |
| 112 | // other fields. |
no test coverage detected