List
LMOVE
Move an element from one list to another.
Arguments
source
str
requiredThe key of the source list.
destination
str
requiredThe key of the destination list.
wherefrom
"left" | "right"
requiredThe side of the source list from which the element was popped.
whereto
"left" | "right"
requiredThe side of the destination list to which the element was pushed.
Response
The element that was moved.