1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 00:42:08 +02:00

return: add Spanish translation (#15359)

* return: add Spanish translation

* Update return.md

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
This commit is contained in:
Darío Hereñú 2024-12-30 18:15:29 -03:00 committed by GitHub
parent f0dde99993
commit f39d254d8c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

12
pages.es/common/return.md Normal file
View file

@ -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}}; }`