--- syntax: markdown tags: [tldr, common] source: https://github.com/tldr-pages/tldr.git --- # return > Exit a function or a script if run with `source`. > More information: . - Exit a function prematurely: `{{func_name}}() { {{echo "This is reached"}}; return; {{echo "This is not"}}; }` - Specify the function's return value: `{{func_name}}() { return {{exit_code}}; }`