@barchart/chart-lib 2.365.1 → 2.366.0

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.
@@ -2536,6 +2536,14 @@ declare module "@barchart/chart-lib" {
2536
2536
  */
2537
2537
  function replaceExpressionSymbols(model: ExprNode, replacer: StringReplacerFunc): ExprNode;
2538
2538
 
2539
+ /**
2540
+ * Determines whether the given expression node contains any computational operations.
2541
+ *
2542
+ * @param {ExprNode} model - The expression node to evaluate for computational content.
2543
+ * @return {boolean} Returns true if the expression contains computation; otherwise, false.
2544
+ */
2545
+ function doesExpressionHaveComputation(model: ExprNode): boolean;
2546
+
2539
2547
  interface StudyMetaRange {
2540
2548
  min: number;
2541
2549
  max: number;
@@ -2911,6 +2919,7 @@ declare module "@barchart/chart-lib" {
2911
2919
  formatExpression,
2912
2920
  getExpressionSymbols,
2913
2921
  replaceExpressionSymbols,
2922
+ doesExpressionHaveComputation,
2914
2923
  Topics,
2915
2924
  PubSub,
2916
2925
  };