SpopCommand: Contents
  SPOP _key_
    Return value
    See also

SpopCommand

SPOP _key_

Time complexity O(1)
Pop a random element from a Set, and return it to the caller. If the key does not exist or if the key contains an empty Set a special 'nil' value is returned.

Return value

bulk reply

See also