Skip to content

Returns en funciones con bool #26

Discussion options

You must be logged in to vote

Siempre, un solo return por función. Pero quizás, puedas hacer algo como return a<b;, que retornaría un valor booleano, en un solo lugar.

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
2 replies
@UmaNovoa
Comment options

@martinvilu
Comment options

Answer selected by UmaNovoa
Comment options

You must be logged in to vote
5 replies
@martinvilu
Comment options

@robertofernandez
Comment options

@martinvilu
Comment options

@robertofernandez
Comment options

@martinvilu
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants