Using functions

You can include functions in a transformation script.

Pre-written JavaScript functions can be imported and used in your transformation, or you can define a new JavaScript function. Functions should be tested for validity before being added to a transformation.