ll.ListRandomize

ll.ListRandomize (ListVariable: list, Stride: number) -> list

Returns a version of the input ListVariable which has been randomized by blocks of size Stride. If the remainder from the length of the list, divided by the stride is non-zero, this function does not randomize the list.

Example

ll.ListRandomize({}, 3.14)
Raw function spec json
{
  "def": "func",
  "desc": "Returns a version of the input ListVariable which has been randomized by blocks of size Stride.\nIf the remainder from the length of the list, divided by the stride is non-zero, this function does not randomize the list.",
  "energy": 10,
  "sleep": 0,
  "must_use": true,
  "link": "https://wiki.secondlife.com/wiki/LlListRandomize",
  "private": false,
  "takesSelf": false,
  "name": "ListRandomize",
  "signatures": [
    {
      "def": "signature",
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            {
              "def": "simple",
              "value": "list"
            }
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "ListVariable",
          "desc": "",
          "type": [
            {
              "def": "simple",
              "value": "list"
            }
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Stride",
          "desc": "",
          "type": [
            {
              "def": "simple",
              "value": "number"
            }
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll