is_listΒΆ

Test if a value is a list:

{% if [1,2,3]|is_list %}Yes, this is a list {% endif %}

Previous topic

is_even

Next topic

is_not_a

Versions

Actions