pop

Pops an element from an array.

{% json arr %}[1,2,3,4,5]{% endjson %}

{% pop arr as el %}

{% comment %}Logs 5{% endcomment %}
{% log el %}

Last updated