Comparison Functions
Understand Double Braces functions offered in the Digibee iPaaS and how to use them. Learn how Comparison functions let users make comparisons of boolean inputs.
The functions were created to:
speed up the creation of your integrations even more
decrease the complexity of your pipelines
simplify data conversions and transformations during the flow of your pipelines
The comparison functions make comparisons of boolean inputs and are available for components that support Double Braces expressions. To know how to provide information to the components using this resource, click here.
AND
By using Double Braces, you can combine the function with the access to the input JSON element of a component.
In the AND comparison function, both provided values must be "true" to return "true".
Syntax
In the example below, the "false" value will be returned:
the null
value is considered as false
. The return of this function will be true
or false
.
NOT
By using Double Braces, you can combine the function with the access to the input JSON element of a component.
The NOT comparison function returns the opposite received value.
Syntax
In the example below the "true" value will be returned:
the null
value is considered as false
. The return of this function will be true
or false
.
OR
By using Double Braces, you can combine the function with the access to the input JSON element of a component.
In the OR comparison function, at least one of the provided values must be "true" to return "true".
Syntax
On the example below, the "true" value will be returned:
the null
value is considered as false
. The return of this function will be true
or false
.
XOR
By using Double Braces, you can combine the function with the access to the input JSON element of a component.
The XOR comparison function will only return "true" if the provided values are opposite. Example: TRUE and FALSE or FALSE and TRUE.
With the support to multiple boolean values, the strategic function resolution is made in pairs, from the left to the right. Example: (TRUE and FALSE and TRUE) = FALSE or (FALSE and TRUE and FALSE and FALSE) = TRUE .
Syntax
In the example below, the "true" value will be returned:
the null
value is considered as false
. The return of this function will be true
or false
.
You can also read about these functions:
string
Last updated