Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 328 Bytes

keys.md

File metadata and controls

24 lines (17 loc) · 328 Bytes
layout title
page
Filters › keys

← filters

Filter: keys:

  • no args

The keys filter returns the keys of an array. It is useful when you want to iterate over the keys of an array:

{% for key in array|keys %}
    ...
{% endfor %}