Skip to main content

ComparisonInArithmeticExpressionError

Comparison expressions cannot be used within arithmetic expressions.

typestringrequired
Constant value: comparison_in_arithmetic_expression
Default value: comparison_in_arithmetic_expression
location objectrequired

Location of the error in the formula. If none, the parser wasn't able to locate the position of the error.

anyOf

Represents the location of an error in a formula.

startPosintegerrequired

Start position of the error in the formula.

Possible values: >= 0

endPosintegerrequired

End position of the error in the formula.

Possible values: >= 1

ComparisonInArithmeticExpressionError
{
"type": "comparison_in_arithmetic_expression",
"location": {
"startPos": 0,
"endPos": 0
}
}