Overview
Returns the specified elements of the list stored atkey. The offsets start and end are zero-based indexes. These offsets can also be negative numbers indicating offsets from the end of the list.
Method Signature
Parameters
The key of the list.
The starting index (zero-based). Negative values indicate offsets from the end of the list (e.g.,
-1 is the last element, -2 is the second-to-last).The ending index (zero-based, inclusive). Negative values indicate offsets from the end of the list. Use
-1 to get all elements from start to the end of the list.Return Value
An array of elements in the specified range. Returns an empty array if the list does not exist or the range is out of bounds.