Boolean Property Condition
A boolean property condition is meant to evaluate a Property of type boolean
– so a single number value.
Schema
json
{
"propertyId": "kj9wqe6asd6",
// Type specific attributes
"type": "boolean",
"operator": "isTrue"
}
Attributes
type
- Type:
"boolean"
- Required
Denotes the condition object as a boolean property condition.
operator
- Type:
BooleanConditionOperators
- Required
The operator to use when comparing an operand of the operands
array against the property value.
Utility Types
BooleanConditionOperator
Type: "isTrue" | "isFalse"
Operators and what they do:
"isTrue"
: Checks if property value istrue
(JSvalue === true
)."isFalse"
: Checks if property value isfalse
(JSvalue === false
).