func ContainsDuplicates[T comparable](values ...T) bool {
	set := hashsets.New[T]()
	for _, value := range values {
		if set.Contains(value) {
			return true
		}
		set.Add(value)
	}
	return false
}
// ContainsDuplicates checks if the list contains duplicates
ContainsDuplicates checks if the list contains duplicates
// ContainsDuplicates checks if the list contains duplicates
func ContainsDuplicates[T comparable](values ...T) bool {
	set := hashsets.New[T]()
	for _, value := range values {
		if set.Contains(value) {
			return true
		}
		set.Add(value)
	}
	return false
}
func ContainsDuplicates [ T comparable ] ( values ... T ) bool { set := hashsets . New [ T ] ( ) for _ , value := range values { if set . Contains ( value ) { return true } set . Add ( value ) } return false }
ContainsDuplicates checks if the list contains duplicates
ContainsDuplicates checks if the list contains duplicates