first ViewHelper <f:first>
¶
The FirstViewHelper returns the first item of an array.
Example¶
<f:first value="{0: 'first', 1: 'second'}" />
Copied!
first
Copied!
Arguments¶
value¶
- DataType
- mixed
- Required
- false
Description