function integer myFunction(integer arg1, string arg2, boolean arg3) {
<function body>
}
34. CTL2 functions reference
CloverDX transformation language has at its disposal a set of functions you can use. We describe them here.
All functions can be grouped into following categories:
Remember that with CTL2 you can use both CloverDX built-in functions and your own functions in one of the ways listed below. Built-in functions
The two expressions above are equivalent.
The second option with the first argument preceding the function itself is sometimes referred to as object notation.
Do not forget to use the You can also declare your own function with a set of arguments of any data type, e.g.: User-defined functions
|
Remember that the object notation (<first argument>.function(<other arguments>) cannot be used in Miscellaneous functions. See Miscellaneous Functions. |
Remember that if you set the Null value property in metadata for any For example, if For detailed information, see Null value. |