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

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


Syntax

array_avg(array $array, string $subKey = null, bool $ignoreNull = true): float


Parameter

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

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

@param bool $ignoreNull If TRUE then array's NULL values are not counted. They are ignored.

When FALSE NULL values are treated as 0 (zero) value and are counted into the calculation.


Return

Returns the calculated average value. If $array is not an array or empty 0 is returned.


Examples

Yet to come...

...