Skip to main content

Arguments

source
str
required
The key of the source list.
destination
str
required
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

The element that was moved.