return Command Examples

Exit a function or a script if run with source. More information: https://www.gnu.org/software/bash/manual/bash.html#index-return.

{{func_name}}() { {{echo "This is reached"}}; return; {{echo "This is not"}}; }

{{func_name}}() { return {{N}}; }