vector.min

vector.min(...vector) : vector

Applies math.min to the corresponding components of the input vectors.

Example

vector.min(vector(1,1,1))
{
  "def": "func",
  "name": "min",
  "energy": 0,
  "pure": true,
  "sleep": 0,
  "signatures": [
    {
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            "vector"
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "vecs",
          "desc": "",
          "type": [
            "vector"
          ],
          "variadic": true,
          "optional": false
        }
      ]
    }
  ],
  "desc": "Applies `math.min` to the corresponding components of the input vectors.",
  "link": "https://luau.org/library#bit32-library#:~:text=function%20bit32.min"
}

< Back to vector