Arguments
string
required
The array key.
number | string
required
The first index of the inclusive range.
number | string
required
The last index of the inclusive range.
Object
number
Maximum number of occupied slots to return. If provided, it must be greater than zero.
Response
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.
TData to describe stored JSON values; it defaults to string.