Methods
(static) findAllKeyValuePairs(dataList, keyMatch)
Remove all duplicates of dictionaries in a list of flat dictionaries based on keyMatch, but preserve specific data by merging the values of keyGroup first.
Parameters:
Name | Type | Default | Description |
---|---|---|---|
dataList |
Array | List of flat dictionaries. | |
keyMatch |
String | pid | Key name where algorithm should be applied if found with the same value in an other dictionary. |
- Source:
Returns:
Array of filtered dictionaries.