@gen3/core 0.11.47 → 0.11.49

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.
package/dist/cjs/index.js CHANGED
@@ -880,6 +880,11 @@ const isFilterSet = (input)=>{
880
880
  }
881
881
  return true;
882
882
  };
883
+ /**
884
+ * Type guard for Includes
885
+ * @param o - operator to check
886
+ * @category Filters
887
+ */ const isIncludes = (o)=>o.operator === 'includes' || o.operator === 'in';
883
888
  const isUnion = (value)=>{
884
889
  return typeof value === 'object' && value !== null && value.operator === 'or' && Array.isArray(value.operands);
885
890
  };
@@ -6089,6 +6094,7 @@ exports.isHistogramDataArrayAnEnum = isHistogramDataArrayAnEnum;
6089
6094
  exports.isHistogramDataCollection = isHistogramDataCollection;
6090
6095
  exports.isHistogramRangeData = isHistogramRangeData;
6091
6096
  exports.isHttpStatusError = isHttpStatusError;
6097
+ exports.isIncludes = isIncludes;
6092
6098
  exports.isIndexedFilterSetEmpty = isIndexedFilterSetEmpty;
6093
6099
  exports.isIntersection = isIntersection;
6094
6100
  exports.isIntersectionOrUnion = isIntersectionOrUnion;