Returns true if array contains duplicate values.
containsDuplicateValues(['a','b','a']); // TruecontainsDuplicateValues([ { name: 'Apple' }, { name: 'Apple' }]); // True Copy
containsDuplicateValues(['a','b','a']); // TruecontainsDuplicateValues([ { name: 'Apple' }, { name: 'Apple' }]); // True
Uses JSON.toString() by default to compare values.
See also:
Array to examine
Function to generate key string for object, uses JSON.stringify by default.
A default converter to string that uses JSON.stringify if its an object, or the thing itself if it's a string
Returns true if array contains duplicate values.
Uses JSON.toString() by default to compare values.
See also: