Skip to main content
Moves only the append cursor; existing values are unchanged. The key must already exist.

Arguments

string
required
The array key.
number | string
required
The index where the next ARINSERT should write.

Response

TypeScript returns 1 if the cursor was set and 0 if the key does not exist. Python returns True or False, respectively.
See the server command reference for protocol details.