NotMatcher removes elements from the Selection that match the given matcher. It returns a new Selection object with the matching elements removed.
(m Matcher)
| 24 | // NotMatcher removes elements from the Selection that match the given matcher. |
| 25 | // It returns a new Selection object with the matching elements removed. |
| 26 | func (s *Selection) NotMatcher(m Matcher) *Selection { |
| 27 | return pushStack(s, winnow(s, m, false)) |
| 28 | } |
| 29 | |
| 30 | // FilterFunction reduces the set of matched elements to those that pass the function's test. |
| 31 | // It returns a new Selection object for this subset of elements. |