Troubleshooting and Reference Guide : Available Functions : Using Core Functions : Constant Reference Functions
 
Share this page                  
Constant Reference Functions
The ConstantReference category contains two functions: constant and nullValue. The constant() function returns the value it is provided. Constant value types supported include:
All supported scalar types (boolean, byte[], double, float, int, long, ...)
Java objects
BigDecimal (numeric type)
 
Function Name
Description
Output Type
Parameters
ConstantReference.constant
Creates a function that always returns the given value.
Based on the type of the constant value provided.
Constant value
ConstantReference.nullValue
Creates a function that always returns a null value.
null
(none)