.showdupes - macmcmeans/localDataStorage GitHub Wiki

localDataStorage.showdupes()

Should you need to see duplicate values in the store, use this method. It returns an array and has no arguments. The data type of the value must match to be considered a duplicate; for example, the integer 2 and the string '2' are not duplicates.

EXAMPLE:

● localData.showdupes()   -->   (2) [19.99, 'discount']

To get the count of duplicate values in the store, use countdupes. When you require a more detailed analysis, use listdupes.