Usage
Parameters
string
required
The key of the set
number
The number of members to pop. If not specified, one member is popped
Response
TData | TData[] | null
- When
countis not specified: Returns the removed member, ornullif the set is empty - When
countis specified: Returns an array of removed members (may be empty if the set is empty)