ARGET

Since 1.1.0Arrays

Syntax

ARGET key index
  • Flags: readonly
  • ACL categories: @array, @read, @slow
  • Arity: -2

Returns the value at index, or nil for an empty slot.

Examples

> ARSET a 0 x y z
(integer) 3
> ARGET a 1
"y"
> ARGET a 3
(nil)