min - chung-leong/qb GitHub Wiki
min - Find lowest value
number min(number[] $values)
number min(number $value1, number $value2, ...)
If the first and only parameter is an array, min() returns the lowest value in that array. If at least two parameters are provided, min() returns the smallest of these values.
Parameters:
values - An array containing the values.
value1 - The first value.
value1 - The second value.
Return Value:
The lowest value of the parameters provided.
Version
1.0 and above.