Not removes elements from the Selection that match the selector string. It returns a new Selection object with the matching elements removed.
(selector string)
| 18 | // Not removes elements from the Selection that match the selector string. |
| 19 | // It returns a new Selection object with the matching elements removed. |
| 20 | func (s *Selection) Not(selector string) *Selection { |
| 21 | return s.NotMatcher(compileMatcher(selector)) |
| 22 | } |
| 23 | |
| 24 | // NotMatcher removes elements from the Selection that match the given matcher. |
| 25 | // It returns a new Selection object with the matching elements removed. |