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({}, 3.14)
Raw function spec json
{
  "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,
  "must_use": true,
  "link": "https://wiki.secondlife.com/wiki/LlList2Key",
  "private": false,
  "takesSelf": false,
  "name": "List2Key",
  "signatures": [
    {
      "def": "signature",
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            {
              "def": "simple",
              "value": "uuid"
            }
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "ListVariable",
          "desc": "",
          "type": [
            {
              "def": "simple",
              "value": "list"
            }
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Index",
          "desc": "",
          "type": [
            {
              "def": "simple",
              "value": "number"
            }
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll