bmel:not¶
Category: Logic & Control Flow · Returns: bmel:boolean
Signature
bmel:not(expr: bmel:boolean)
Description¶
Returns the boolean negation of the expression.
Arguments¶
| Parameter | Type | Required | Description |
|---|---|---|---|
expr | bmel:boolean | The boolean value to negate. |
Examples¶
The call did not succeed
bmel:not({invokeAgent:Response Payload}.$.success)
The output is not valid JSON
bmel:not(bmel:json-valid({invokeAgent:Response Payload}.$.output_text))