twig empty = 0 code example Example: twig is empty {% if varname is empty %} That's empty. {% endif %}