:navigation-title: iterator.pop
.. include:: /Includes.rst.txt

.. _fluidtypo3-vhs-iterator-pop:

============================================
iterator.pop ViewHelper `<vhs:iterator.pop>`
============================================


Pops the last value off $subject (but does not change $subject itself as array_pop would).


.. _fluidtypo3-vhs-iterator-pop_arguments:

Arguments
=========


.. _iterator.pop_subject:

subject
-------

:aspect:`DataType`
   mixed

:aspect:`Required`
   false
:aspect:`Description`
   Input to work on - Array/Traversable/...

.. _iterator.pop_as:

as
--

:aspect:`DataType`
   string

:aspect:`Required`
   false
:aspect:`Description`
   Template variable name to assign; if not specified the ViewHelper returns the variable instead.
