Skip to main content

NonBooleanInLogicalExpressionError

Only boolean expressions can be used in logical operators.

typeTyperequired
Constant value: non_boolean_in_logical_expression
Default value: non_boolean_in_logical_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
startPosStartposrequired

Start position of the error in the formula.

Possible values: >= 0

endPosEndposrequired

End position of the error in the formula.

Possible values: >= 1

operatorOperatorrequired

The operator that caused the error.

NonBooleanInLogicalExpressionError
{
"type": "non_boolean_in_logical_expression",
"location": {
"startPos": 0,
"endPos": 0
},
"operator": "string"
}