Bash.Builtin.Return (Bash v0.6.0)

Copy Markdown View Source

return [n]

Causes a function to exit with the return value specified by N. If N is omitted, the return status is that of the last command.

Reference: https://cgit.git.savannah.gnu.org/cgit/bash.git/plain/builtins/return.def?h=bash-5.3