PrevFilteredUntilSelection is like PrevUntilSelection, with the option to filter the results based on a selector string. It returns a new Selection object containing the matched elements.
(filterSelector string, sel *Selection)
| 505 | // option to filter the results based on a selector string. It returns a new |
| 506 | // Selection object containing the matched elements. |
| 507 | func (s *Selection) PrevFilteredUntilSelection(filterSelector string, sel *Selection) *Selection { |
| 508 | return s.PrevMatcherUntilSelection(compileMatcher(filterSelector), sel) |
| 509 | } |
| 510 | |
| 511 | // PrevMatcherUntilSelection is like PrevUntilSelection, with the |
| 512 | // option to filter the results based on a matcher. It returns a new |