keys - Liquid Filter Reference
On this page
Description
Returns a list of the keys of a Map
| Property | Value |
|---|---|
| Return Type | list |
| Category | maps |
Examples
liquid
{{ my_map | keys | join: ", " }}
Output: name, type
Type at least 3 characters · ↵ for full results · Esc to close
Returns a list of the keys of a Map
| Property | Value |
|---|---|
| Return Type | list |
| Category | maps |
liquid
{{ my_map | keys | join: ", " }}
Output: name, type