Home / node / Commands / enumerations / ListDirection @valkey/valkey-glide
@valkey/valkey-glide / Commands / ListDirection
Enumeration: ListDirection
Enumeration representing element popping or adding direction for the List Based Commands.
Enumeration Members
LEFT
LEFT:
"LEFT"
Represents the option that elements should be popped from or added to the left side of a list.
RIGHT
RIGHT:
"RIGHT"
Represents the option that elements should be popped from or added to the right side of a list.