min(a, b);
Return the smallest value.
Can also take any number of arguments, or a table.
Arguments
a
The first valueb
The second valueReturns
number
The smallest valuemin(6, 7); -- returns 6
min(6, 7, 4); -- returns 4
min({ 6, 7, 4 }); -- returns 4