v10.11.0
Group an array’s items using a Liquid expression. For members array below:
1 | const members = [ |
Input
1 | {{ members | group_by_exp: "item", "item.graduation_year | truncate: 3, ''" | json: 2 }} |
Output
1 | [ |
v10.11.0
Group an array’s items using a Liquid expression. For members array below:
1 | const members = [ |
Input
1 | {{ members | group_by_exp: "item", "item.graduation_year | truncate: 3, ''" | json: 2 }} |
Output
1 | [ |