Transformation
Remove Duplicates From Array Of Numbers Or Strings
Overview
This JST allows IAP users to remove duplicates from an array of numbers or an array of strings. The JST uses the standard built in JavaScript object Set to remove duplicates. The resulting array will preserve only the first occurrences of each element from the original array.
For performance purposes, please note that the worst-case time complexity for this JST is $O(n)
$.
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-build can be installed from within
App-Admin_Essential
. Simply search for the name of your desired pre-build and click the install button.