File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 1
- Removes and returns the first elements of the list stored at ` key ` .
2
-
3
1
By default, the command pops a single element from the beginning of the list.
4
2
When provided with the optional ` count ` argument, the reply will consist of up
5
3
to ` count ` elements, depending on the list's length.
4
+ Deletes the list if the last element was popped.
6
5
7
6
## Examples
8
7
Original file line number Diff line number Diff line change 1
- Removes and returns the last elements of the list stored at ` key ` .
2
-
3
1
By default, the command pops a single element from the end of the list.
4
2
When provided with the optional ` count ` argument, the reply will consist of up
5
3
to ` count ` elements, depending on the list's length.
4
+ Deletes the list if the last element was popped.
6
5
7
6
## Examples
8
7
You can’t perform that action at this time.
0 commit comments