You can assign the value returned by a function to a variable, just as you can assign a literal or expression result to a variable.

You can learn more about this in:
Run Edit