Operator Type:
Operator Scope of Action:
Operator Purpose:
Data Type Returned:
Operator First Added:
Operator in Current Baseline:
Operator Last Altered:
Statement [other Statement type actions]
Document [operators of similar scope]
Data manipulation [other Data manipulation operators]
declaration
v9.1.0
Baseline
As at baseline
return
return() never use trailing parentheses with this operator!
The return statement is only used inside a function, and indicates the value to be passed back to the code calling the function at which point the function stops. Atypically, trailing empty parentheses must not used with return. The value passed by return is defined by the rest of code line following the return statement
See further explanation of the use of return within functions, including how the returned value is coded.
See also—notes linking to here: