Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

nunjucks if logical or

// Nunjucks: Logical OR and Logical AND in Conditionals

{% if (VARIABLE > 10) and (VARIABLE < 20) %}
	...
{% endif %}

{% if (VARIABLE == 10) or (VARIABLE == 20) %}
	...
{% endif %}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #nunjucks #logical
ADD COMMENT
Topic
Name
4+1 =