Contains determines if all if sel's sections are in s.
(sel Selector)
| 87 | |
| 88 | // Contains determines if all if sel's sections are in s. |
| 89 | func (s *Selector) Contains(sel Selector) bool { |
| 90 | return core.AllStringsInSlice(sel.Sections(), s.Sections()) |
| 91 | } |
| 92 | |
| 93 | // ContainsString determines if all if sel's sections are in s. |
| 94 | func (s *Selector) ContainsString(scope []string) bool { |