.countdupes - macmcmeans/localDataStorage GitHub Wiki
localDataStorage.countdupes()
When your use-case requires knowing whether duplicate key values exist, this method can help. Taking no arguments, it searches the store and returns a tally of identical values having the same data type.
EXAMPLE:
● localData.countdupes(); --> 2
To view the actual duplicate values in the store, use showdupes. When you require a more detailed analysis, use listdupes.