About the Return Statement
You use the return statement to terminate execution of a node definition and optionally return a value. This statement has the following format:
For example, the following definition scans all elements in a list and returns the first negative value:
If you do not supply a return value with the return statement:
the value null is returned. That is, return; is the same as return null;.