Max ViewHelper <f:max>
The MaxViewHelper returns the maximum element from an array
Example
<f:max value="{0: '1', 1: '2', 2: '3'}" />
Copied!
Output:
3
Copied!
Go to the source code of this ViewHelper: MaxViewHelper.php (GitHub).
Arguments
The following arguments are available for the max ViewHelper:
value
-
- Type
- array
An array