RESULT

Returning a value from a custom function.

Syntax:

RESULT(value)

As described above, a RESULT statement marks the end of the custom function. The value is returned as the result of the function.