Skip to main content

Arguments

str
required
The array key.
int
required
The zero-based index to access.

Response

The stored value, or null (TypeScript) / None (Python) for an empty slot or missing key.
See the server command reference for protocol details.