Skip to main content

ARSCAN

Read occupied array slots with their indexes.
1 min read

Arguments#

keystrrequired#

The array key.

startintrequired#

The first index of the inclusive range.

endintrequired#

The last index of the inclusive range.

limitint#

Maximum number of occupied slots to return. If provided, it must be greater than zero.

Response#

List[Tuple[int, str]]required

Index-value pairs for occupied slots. Empty slots are skipped; a missing key returns an empty list. TypeScript returns indexes as strings; Python returns integers.

See the server command reference for protocol details.

Was this page helpful?