Skip to main content

Arguments#

keystringrequired#

The array key.

indexnumber | stringrequired#

The zero-based index to access.

Response#

TData | nullrequired

The stored value, or null (TypeScript) / None (Python) for an empty slot or missing key.

Values use the SDK’s automatic deserialization. Use TData to describe stored JSON values; it defaults to string.

See the server command reference for protocol details.