ll.List2Key

ll.List2Key(ListVariable: list, Index: number) : uuid

Copies the key at Index in the list. Returns the value at Index in the specified list. If Index describes a location not in the list, or the value cannot be type-cast to a key, then null string is returned.

Example

ll.List2Key({}, 10)
{
  "def": "func",
  "desc": "Copies the key at Index in the list.\nReturns the value at Index in the specified list. If Index describes a location not in the list, or the value cannot be type-cast to a key, then null string is returned.",
  "energy": 10,
  "sleep": 0,
  "pure": true,
  "link": "https://wiki.secondlife.com/wiki/LlList2Key",
  "name": "List2Key",
  "signatures": [
    {
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            "uuid"
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "ListVariable",
          "desc": "",
          "type": [
            "list"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Index",
          "desc": "",
          "type": [
            "integer",
            "number"
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll