I did it like this:
{% if var is iterable and (var is not string and var is not mapping) %}
You can find a list of all jinja tests here.
I did it like this:
{% if var is iterable and (var is not string and var is not mapping) %}
You can find a list of all jinja tests here.