redisLIndex: Retrieve a value from a Redis 'list.'
Description
Retrieve a value from a Redis 'list' at the specified index without
removing it from the list.
Usage
redisLIndex(key, index, ...)
Arguments
key
The key (whose value is of the type 'list').
index
The list index to retrieve.
...
Optional additional arguments. Specify raw=TRUE to skip de-serialization of the data.
Value
The corresponding value or an empty string if the index is out of bounds.
Details
List indices begin at 0.
Negative indexes are supported, for example -1 is the last element,
-2 the penultimate and so on.
If the value stored at key is not of the 'list' type an error is returned.
If the index is out of range an empty string is returned.