set/set.go
func (s *Set) ContainsAll(values ...interface{}) bool {
	s.RLock()
	defer s.RUnlock()
	for _, value := range values {
		_, ok := s.m[value]
		if !ok {
			return false
		}
	}
	return true
}
func (s *Set) ContainsAll(values ...interface{}) bool {
	s.RLock()
	defer s.RUnlock()
	for _, value := range values {
		_, ok := s.m[value]
		if !ok {
			return false
		}
	}
	return true
}
func ( s * Set ) ContainsAll ( values ... interface { } ) bool { s . RLock ( ) defer s . RUnlock ( ) for _ , value := range values { _ , ok := s . m [ value ] if ! ok { return false } } return true }
// ContainsAll checks if all values exist in the set.
ContainsAll checks if all values exist in the set .