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