ll.ListFindList

ll.ListFindList(ListVariable: list, Find: list) : number

Returns the index of the first instance of Find in ListVariable. Returns -1 if not found. Returns the position of the first instance of the Find list in the ListVariable. Returns -1 if not found.

Example

ll.ListFindList({}, {})
{
  "def": "func",
  "desc": "Returns the index of the first instance of Find in ListVariable. Returns -1 if not found.\nReturns the position of the first instance of the Find list in the ListVariable. Returns -1 if not found.",
  "energy": 10,
  "sleep": 0,
  "pure": true,
  "link": "https://wiki.secondlife.com/wiki/LlListFindList",
  "name": "ListFindList",
  "signatures": [
    {
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            "number"
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "ListVariable",
          "desc": "",
          "type": [
            "list"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Find",
          "desc": "",
          "type": [
            "list"
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll