Atomically return and remove the first (LPOP) or last (RPOP) element of the list. For example
if the list contains the elements "a","b","c" LPOP will return "a" and the list will become
"b","c".
<p>
If the key does not exist or the list is already empty the special value 'nil' is returned.
@see #rpop(string)
@param key
@return Bulk reply
Atomically return and remove the first (LPOP) or last (RPOP) element of the list. For example if the list contains the elements "a","b","c" LPOP will return "a" and the list will become "b","c". <p> If the key does not exist or the list is already empty the special value 'nil' is returned. @see #rpop(string) @param key @return Bulk reply