Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

return: add Spanish translation #15359

Merged
merged 3 commits into from
Dec 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions pages.es/common/return.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# return

> Sale de una función o un script si se ejecuta con `source`.
> Más información: <https://www.gnu.org/software/bash/manual/bash.html#index-return>.

- Sale prematuramente de una función:

`{{nombre_de_la_función}}() { {{echo "Se ha alcanzado"}}; return; {{echo "No se ha alcanzado"}}; }`

- Especifica el valor de retorno de la función:

`{{nombre_de_la_función}}() { return {{N}}; }`
Loading