File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,10 @@ This will print out ``true``.
172
172
``min() `` function
173
173
~~~~~~~~~~~~~~~~~~
174
174
175
- This function will return the lowest value::
175
+ This function will return the lowest value of the given parameters. You can pass
176
+ different types of parameters (e.g. dates, strings, numeric values) and even mix
177
+ them (e.g. pass numeric values and strings). Internally it uses the :phpfunction: `min `
178
+ PHP function to find the lowest value::
176
179
177
180
var_dump($expressionLanguage->evaluate(
178
181
'min(1, 2, 3)'
@@ -183,7 +186,10 @@ This will print out ``1``.
183
186
``max() `` function
184
187
~~~~~~~~~~~~~~~~~~
185
188
186
- This function will return the highest value::
189
+ This function will return the highest value of the given parameters. You can pass
190
+ different types of parameters (e.g. dates, strings, numeric values) and even mix
191
+ them (e.g. pass numeric values and strings). Internally it uses the :phpfunction: `max `
192
+ PHP function to find the highest value::
187
193
188
194
var_dump($expressionLanguage->evaluate(
189
195
'max(1, 2, 3)'
You can’t perform that action at this time.
0 commit comments