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

Improve is (not) defined feature #115

Closed
GuillaumeGomez opened this issue Aug 5, 2024 · 0 comments · Fixed by #126
Closed

Improve is (not) defined feature #115

GuillaumeGomez opened this issue Aug 5, 2024 · 0 comments · Fixed by #126

Comments

@GuillaumeGomez
Copy link
Collaborator

In some cases, we could remove even more code, like:

{% if x is not defined || !x %}

Currently, we keep the !x but there's no reason we should if it's not defined since the first condition will be true. It would allow to be more flexible.

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

Successfully merging a pull request may close this issue.

1 participant