Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 10 lines (7 sloc) 259 Bytes

array_search

A straight mapper to the php array_search function.

{% if arrray_search(node.fields|keys,'field_something') %}
    {# do something with node.fields.field_something #}
{% endif %}