Transformation
Remove Duplicates From Array Of Objects Or Arrays
Overview
This JST allows IAP users to remove duplicates from an array of objects or an array of arrays. The JST uses the Node method fast-deep-equal to compare nested objects/arrays accurately to remove duplicates. The resulting array will preserve only the first occurences of each element from the original array. Please note, the worst case in time complexity for this JST is $O(n^2)
$; hence the operation might be slow for sufficiently large datasets.
How to Install
To install the pre-built:
- Verify you are running a supported version of the Itential Automation Platform (IAP) as listed above in the Prerequisites section.
- The pre-built can be installed from within
App-Admin_Essential
. Simply search for the name of your desired pre-built and click the install button.