assign
Last updated
Was this helpful?
Last updated
Was this helpful?
The assign tag is a native feature of Liquid. In Mechanic-flavored Liquid, the assign tag is extended to support assigning within and .
Assignment into arrays and hashes is always by value, never by reference.
Arrays support assignment by index, using integer lookups.
Hashes support assignment by key, using string lookups.