Mathf.Min(number[] values)
Returns the smallest of the values.
Parameters:
Name | Type | Description |
---|---|---|
values | number[] | values |
Returns:
type | Description |
---|---|
number | smallest of the values. |
Usage
---@type number
local values;
local val0 = Mathf:Min( values)
`lua ---@type number local a;
---@type number local b;
local val0 = Mathf:Min(a, b)