ll.ListInsertList

ll.ListInsertList(Target: list, ListVariable: list, Position: number) : list

Returns a list that contains all the elements from Target but with the elements from ListVariable inserted at Position start. Returns a new list, created by inserting ListVariable into the Target list at Position. Note this does not alter the Target.

Example

ll.ListInsertList({}, {}, 13)
{
  "def": "func",
  "desc": "Returns a list that contains all the elements from Target but with the elements from ListVariable inserted at Position start.\nReturns a new list, created by inserting ListVariable into the Target list at Position. Note this does not alter the Target.",
  "energy": 10,
  "sleep": 0,
  "pure": true,
  "link": "https://wiki.secondlife.com/wiki/LlListInsertList",
  "name": "ListInsertList",
  "signatures": [
    {
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            "list"
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "Target",
          "desc": "",
          "type": [
            "list"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "ListVariable",
          "desc": "",
          "type": [
            "list"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Position",
          "desc": "",
          "type": [
            "integer",
            "number"
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll