map
The map
test checks if a variable is an instance of a map.
{% if {"apple":"red", "banana":"yellow"} is map %}
...
{% endif %}
map
The map
test checks if a variable is an instance of a map.
{% if {"apple":"red", "banana":"yellow"} is map %}
...
{% endif %}