pkg/types/set.go
func (us *unsafeSet) Equals(other Set) bool {
	v1 := sort.StringSlice(us.Values())
	v2 := sort.StringSlice(other.Values())
	v1.Sort()
	v2.Sort()
	return reflect.DeepEqual(v1, v2)
}
func (us *unsafeSet) Equals(other Set) bool {
	v1 := sort.StringSlice(us.Values())
	v2 := sort.StringSlice(other.Values())
	v1.Sort()
	v2.Sort()
	return reflect.DeepEqual(v1, v2)
}
func ( us * unsafeSet ) Equals ( other Set ) bool { v1 := sort . StringSlice ( us . Values ( ) ) v2 := sort . StringSlice ( other . Values ( ) ) v1 . Sort ( ) v2 . Sort ( ) return reflect . DeepEqual ( v1 , v2 ) }
// Equals returns whether the contents of two sets are identical
Equals returns whether the contents of two sets are identical