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

Assert #14

Open
danilopedraza opened this issue Feb 7, 2024 · 0 comments
Open

Assert #14

danilopedraza opened this issue Feb 7, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@danilopedraza
Copy link
Member

Necesitamos una forma de detener la ejecución del programa si una condición no se cumple. Esto sería una función así:

assert(cond, msg)

donde cond es un booleano y msg es un mensaje que se quiera desplegar cuando el booleano sea falso y la ejecución se detenga.

@danilopedraza danilopedraza added the enhancement New feature or request label Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant