index_of

Returns the index of the first occurrence of the item in the given list.

For example:

{{ [44,11,2,443,2]|index_of:11 }}

Returns 2.

Note: Erlang list indices are always 1-based.

Edit on GitHub

group_by Lists is_list

Referred by

Filters

Filters transform template variables before they are rendered.