Returns the min-value of an (sub)array.

This basically wraps the PHP's function:  min(...)


Syntax

array_min(array $array, string $subKey = null) int|float


Parameter

@param array $array A 1-dimensional (or 2-dimensional) numeric or associative array.

@param string|int|null $subKey Possibility to access the sub-values of a 2-dimensional array.


Return

Returns the minimum value of the (sub)array. If $array is not an array or empty NULL is returned.


Examples

Yet to come...

...