inferred-types 0.55.9 → 0.55.10

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.
@@ -273,6 +273,7 @@ __export(index_exports, {
273
273
  entries: () => entries,
274
274
  errCondition: () => errCondition,
275
275
  filter: () => filter,
276
+ filterEmpty: () => filterEmpty,
276
277
  find: () => find,
277
278
  fnMeta: () => fnMeta,
278
279
  fromDefineObject: () => fromDefineObject,
@@ -463,6 +464,7 @@ __export(index_exports, {
463
464
  isNewsUrl: () => isNewsUrl,
464
465
  isNikeUrl: () => isNikeUrl,
465
466
  isNorwegianNewsUrl: () => isNorwegianNewsUrl,
467
+ isNotEmpty: () => isNotEmpty,
466
468
  isNotNull: () => isNotNull,
467
469
  isNothing: () => isNothing,
468
470
  isNull: () => isNull,
@@ -5817,6 +5819,9 @@ function createFixedLengthArray(content, quantity) {
5817
5819
  return Array.from({ length: quantity }, () => content);
5818
5820
  }
5819
5821
  var filter = "NOT READY";
5822
+ function filterEmpty(...val) {
5823
+ return val.filter((i) => isNotEmpty(i));
5824
+ }
5820
5825
  function find(list2, deref = null) {
5821
5826
  return (comparator) => {
5822
5827
  return list2.find((i) => {
@@ -7424,6 +7429,9 @@ function isEmail(val) {
7424
7429
  function isEmpty(val) {
7425
7430
  return isUndefined(val) || isNull(val) || isString(val) && val.length === 0 || isObject(val) && Object.keys(val).length === 0 || isArray(val) && val.length === 0;
7426
7431
  }
7432
+ function isNotEmpty(val) {
7433
+ return !(isUndefined(val) || isNull(val) || isString(val) && val.length === 0 || isObject(val) && Object.keys(val).length === 0 || isArray(val) && (val?.length === 0 || val?.length === void 0));
7434
+ }
7427
7435
  function isErrorCondition(value, kind = null) {
7428
7436
  return isObject(value) && "__kind" in value && value.__kind === "ErrorCondition" && "kind" in value ? kind !== null ? value.kind === kind : true : false;
7429
7437
  }
@@ -8785,6 +8793,7 @@ var ExifSaturation = /* @__PURE__ */ ((ExifSaturation2) => {
8785
8793
  entries,
8786
8794
  errCondition,
8787
8795
  filter,
8796
+ filterEmpty,
8788
8797
  find,
8789
8798
  fnMeta,
8790
8799
  fromDefineObject,
@@ -8975,6 +8984,7 @@ var ExifSaturation = /* @__PURE__ */ ((ExifSaturation2) => {
8975
8984
  isNewsUrl,
8976
8985
  isNikeUrl,
8977
8986
  isNorwegianNewsUrl,
8987
+ isNotEmpty,
8978
8988
  isNotNull,
8979
8989
  isNothing,
8980
8990
  isNull,