Aggregate functions

This page describes the additional set of predefined Jsonnet functions for the Data Transformer Script task available in Application Integration.

Before you begin

To use the following predefined functions, you must import the functions library in your script. Importing the functions library lets you use both the standard Jsonnet functions and the predefined Data Transformer functions.

Application Integration supports Jsonnet functions library v0.20.0. For information about the Jsonnet standard functions, see Jsonnet Standard Library.


XNOR

Syntax
 
xnor(a, b)
 
Description Performs a logical XNOR operation on the specified boolean values.
Input parameter a: A boolean value.

b: A boolean value.

Return type BOOLEAN
Output Returns the XNOR of the two given booleans.

Xor

Syntax
 
xor(a, b)
 
Description Performs a logical XOR operation on the specified boolean values.
Input parameter a: A boolean value.

b: A boolean value.

Return type BOOLEAN
Output Returns the XOR of the two given booleans.

Recommendation

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年12月09日 UTC.