@stemy/ngx-utils 12.1.5 → 12.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2539,6 +2539,13 @@
2539
2539
  }
2540
2540
  return result;
2541
2541
  };
2542
+ ArrayUtils.unique = function (arr) {
2543
+ if (!ObjectUtils.isArray(arr))
2544
+ return [];
2545
+ return arr.filter(function (value, index, self) {
2546
+ return self.indexOf(value) === index;
2547
+ });
2548
+ };
2542
2549
  return ArrayUtils;
2543
2550
  }());
2544
2551