Answers for "how to get the length of a list jinja"

1

find legnth of list in jinja2

{{ list|length }}
Posted by: Guest on July-02-2020
0

Get lengths of a list in a jinja2 template

{{'0' if linked_contacts == None else linked_contacts|length}}
Posted by: Guest on July-14-2021

Code answers related to "how to get the length of a list jinja"

Browse Popular Code Answers by Language