Skip to main content

LMOVE

Move an element from one list to another.
1 min read

Arguments#

sourcestrrequired#

The key of the source list.

destinationstrrequired#

The key of the destination list.

wherefrom"left" | "right"required#

The side of the source list from which the element was popped.

whereto"left" | "right"required#

The side of the destination list to which the element was pushed.

Response#

strrequired

The element that was moved.

Was this page helpful?