@stemy/ngx-utils 10.3.3 → 10.3.4

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.
@@ -2193,7 +2193,7 @@
2193
2193
  };
2194
2194
  ArrayUtils.min = function (arr, cb) {
2195
2195
  if (!ObjectUtils.isArray(arr))
2196
- return 0;
2196
+ return null;
2197
2197
  var min = Number.MAX_SAFE_INTEGER;
2198
2198
  var result = null;
2199
2199
  for (var i = 0; i < arr.length; i++) {
@@ -2207,7 +2207,7 @@
2207
2207
  };
2208
2208
  ArrayUtils.max = function (arr, cb) {
2209
2209
  if (!ObjectUtils.isArray(arr))
2210
- return 0;
2210
+ return null;
2211
2211
  var max = Number.MIN_SAFE_INTEGER;
2212
2212
  var result = null;
2213
2213
  for (var i = 0; i < arr.length; i++) {