Item
====
The item of its list at index (0 the first, -1 the last); input i, when wired, is the index.
``item`` · list
.. raw:: html
.. container:: pb-prose
The item at ``index`` (0 the first, -1 the last), or at input ``i`` when it is wired. An index
outside the list fails the run, naming the block.
Inputs
------
.. list-table::
:header-rows: 1
* - Port
- Type
- Unit
- Components
* - ``list``
- numbers
- —
- —
* - ``i``
- signal
- —
- —
Outputs
-------
.. list-table::
:header-rows: 1
* - Port
- Type
- Unit
- Components
* - ``y``
- signal
- —
- —
Parameters
----------
.. list-table::
:header-rows: 1
* - Param
- Type
- Default
- Options or unit
* - ``form``
- enum
- ``"numbers"``
- ``numbers``, ``points``
* - ``index``
- number
- ``0.0``
- —