Function StackCustom function
Custom Function
Define and invoke your custom function.
Configuration:
Function Name: Specify the name of the function you want to define.
Parameters: Define the parameters that the function will accept.
Outputs: Define the outputs that the function will return.
- Define Custom Function: In this example, we define a custom function called
Capitalize
, which accepts a parametername
and returns an output with the same name.
- Within the function body, we convert the passed value to uppercase and then use the Return In Scope function to return the result and exit the function.
- Finally, call the function with the required parameters and print the result.