Comparison functions
Learn about comparison functions in the Digibee Integration Platform and how to use them.
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, refer to Double Braces Functions.
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
.
Other functions
You can also read about these functions:
Last updated