Skip to main content

IfConditionNotBooleanError

The condition of an IF statement must be a boolean expression.

typestringrequired
Constant value: if_condition_not_boolean
Default value: if_condition_not_boolean
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

IfConditionNotBooleanError
{
"type": "if_condition_not_boolean",
"location": {
"startPos": 0,
"endPos": 0
}
}