Operations (sample payloads)

Main operations

Boolean condition

A list of evaluations, each with two values and a comparison type to perform. Sample Input

{
    "conditions": [
        \{
            "value1": "apple",
            "comparison_type": "===",
            "value2": "apple",
            "is_case_sensitive": true
        \},
        \{
            "value1": 10,
            "comparison_type": ">",
            "value2": 5
        \},
        \{
            "value1": "hello",
            "comparison_type": "starts with",
            "value2": "he",
            "is_case_sensitive": false
        \}
    ],
    "strictness": "All"
}

Sample Output

{
    "branch_name": "true"
}

Property exists

Check if a property exists (has been declared AND has a value). Sample Input

{
    "property": "$.user.email"
}

Sample Output

{
    "branch_name": "true"
}

Was this page helpful?