v10.11.0
Unshift an element to the front of the array. It’s NON-DESTRUCTIVE, i.e. it does not mutate the array, but rather make a copy and mutate that.
Input
1 | {% assign fruits = "oranges, peaches" | split: ", " %} |
Output
1 | - apples |
v10.11.0
Unshift an element to the front of the array. It’s NON-DESTRUCTIVE, i.e. it does not mutate the array, but rather make a copy and mutate that.
Input
1 | {% assign fruits = "oranges, peaches" | split: ", " %} |
Output
1 | - apples |