map - Liquid Filter Reference - 0.11.5
Filter Name | map |
Group | Arrays |
Version | 0.11.5 |
Description
Creates an array of values by extracting the values of a named property from another object.
Examples
{% assign titles = pages | map: "title" %}
{% for item in titles -%}
- {{ item }}
{% endfor %}
- Home
- About Us
- Privacy Policy
Back to Liquid Reference for 0.11.5
Back to Documentation