Logical Operators
Supported logical operators are:
- "not": <condition>
- "allOf": [<condition>, ..., <condition>]
- "anyOf": [<condition>, ..., <condition>]
not inverts the result of the condition.
allOf evaluates true only if all included conditions are true, and evaluates false as long as one included condition is false.
anyOf evaluates true as long as one included condition is true, and evaluates false if all included conditions are false.
allOf and anyOf both implement short-circuit evaluation. They evaluate the conditions in the subsequent list in sequence.
If the return result of a condition is false, allOf returns false and the subsequent conditions are not calculated.
If the return result of a condition is true, anyOf returns true and the subsequent conditions are not calculated.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot