min
Gets minimum value
Example
1
{{ [1, 2, 3, 4, 5] | min }} => 1
Input
Type | Parameter | Description | Required |
---|---|---|---|
array | data | The array to find the minimum value in. Comes before the | sign. | Required |
string | minField | The attribute to find the minimum value in, defaults to null |
Output
Type | Description |
---|---|
mixed | The minimum value from the array |