You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm migrating my templates from another java library derived from Twig syntax.
I have some troubles with implicit boolean expressions, I cannot understand very well why this expression works:
{% if myobj %}
and why this doesn't work
{% if not myobj %}
I know it can be replaced by {% if myobj is empty %} but since the first works, make it sense to not use the "not"?
The text was updated successfully, but these errors were encountered:
Hello, I'm migrating my templates from another java library derived from Twig syntax.
I have some troubles with implicit boolean expressions, I cannot understand very well why this expression works:
{% if myobj %}
and why this doesn't work
{% if not myobj %}
I know it can be replaced by {% if myobj is empty %} but since the first works, make it sense to not use the "not"?
The text was updated successfully, but these errors were encountered: